From 09346bdc73014e34e5fdee92fe4a66bb08a3563e Mon Sep 17 00:00:00 2001 From: Condorra Date: Sat, 12 Oct 2024 23:50:33 +1100 Subject: [PATCH] Disable emacs style keymap since some of the keybindings are confusing --- src/editor_view/editor_area.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/editor_view/editor_area.rs b/src/editor_view/editor_area.rs index 39cbe54..c1e2404 100644 --- a/src/editor_view/editor_area.rs +++ b/src/editor_view/editor_area.rs @@ -150,8 +150,6 @@ extern "C" { extern "C" { #[wasm_bindgen(js_name = defaultKeymap, thread_local)] static DEFAULT_KEYMAP: Vec; - #[wasm_bindgen(js_name = emacsStyleKeymap, thread_local)] - static EMACS_STYLE_KEYMAP: Vec; #[wasm_bindgen(js_name = historyKeymap, thread_local)] static HISTORY_KEYMAP: Vec; @@ -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,