Disable emacs style keymap since some of the keybindings are confusing
This commit is contained in:
parent
44e0692596
commit
09346bdc73
@ -150,8 +150,6 @@ extern "C" {
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#[wasm_bindgen(js_name = defaultKeymap, thread_local)]
|
#[wasm_bindgen(js_name = defaultKeymap, thread_local)]
|
||||||
static DEFAULT_KEYMAP: Vec<KeyBinding>;
|
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)]
|
#[wasm_bindgen(js_name = historyKeymap, thread_local)]
|
||||||
static HISTORY_KEYMAP: Vec<KeyBinding>;
|
static HISTORY_KEYMAP: Vec<KeyBinding>;
|
||||||
|
|
||||||
@ -265,7 +263,6 @@ pub(super) fn editor_area(props: &EditorViewDetailProps) -> Html {
|
|||||||
&mut vec![
|
&mut vec![
|
||||||
&CLOSE_BRACKETS_KEYMAP,
|
&CLOSE_BRACKETS_KEYMAP,
|
||||||
&DEFAULT_KEYMAP,
|
&DEFAULT_KEYMAP,
|
||||||
&EMACS_STYLE_KEYMAP,
|
|
||||||
&SEARCH_KEYMAP,
|
&SEARCH_KEYMAP,
|
||||||
&HISTORY_KEYMAP,
|
&HISTORY_KEYMAP,
|
||||||
&FOLD_KEYMAP,
|
&FOLD_KEYMAP,
|
||||||
|
Loading…
Reference in New Issue
Block a user