Disable emacs style keymap since some of the keybindings are confusing

This commit is contained in:
Condorra 2024-10-12 23:50:33 +11:00
parent 44e0692596
commit 09346bdc73

View File

@ -150,8 +150,6 @@ extern "C" {
extern "C" {
#[wasm_bindgen(js_name = defaultKeymap, thread_local)]
static DEFAULT_KEYMAP: Vec<KeyBinding>;
#[wasm_bindgen(js_name = emacsStyleKeymap, thread_local)]
static EMACS_STYLE_KEYMAP: Vec<KeyBinding>;
#[wasm_bindgen(js_name = historyKeymap, thread_local)]
static HISTORY_KEYMAP: Vec<KeyBinding>;
@ -265,7 +263,6 @@ pub(super) fn editor_area(props: &EditorViewDetailProps) -> Html {
&mut vec![
&CLOSE_BRACKETS_KEYMAP,
&DEFAULT_KEYMAP,
&EMACS_STYLE_KEYMAP,
&SEARCH_KEYMAP,
&HISTORY_KEYMAP,
&FOLD_KEYMAP,