This PR adds support for Vim and Emacs key bindings to the editor.
A dropdown has been added in the control bar to allow for selecting the editor mode.
The default option is "Default", which means no special key bindings are applied. It sets keyboardHandler on AceEditor to "windows".
The dropdown contains two other modes: "Vim" and "Emacs". They respectively set keyboardHandler on the AceEditor component to "vim" and "emacs".
The currently selected mode is persisted in local storage and is loaded and set by KeyboardHandlerDropdown.
This PR adds support for Vim and Emacs key bindings to the editor.
A dropdown has been added in the control bar to allow for selecting the editor mode.
The default option is "Default", which means no special key bindings are applied. It sets
keyboardHandler
onAceEditor
to"windows"
. The dropdown contains two other modes: "Vim" and "Emacs". They respectively setkeyboardHandler
on theAceEditor
component to"vim"
and"emacs"
.The currently selected mode is persisted in local storage and is loaded and set by
KeyboardHandlerDropdown
.