From e0bb3a738960df7db7bbaef43983df0083d75ae3 Mon Sep 17 00:00:00 2001 From: Youngteac Hong Date: Fri, 13 Sep 2024 15:55:18 +0900 Subject: [PATCH] Fix issue where `jj` could not be entered in Vim mode --- frontend/src/components/editor/Editor.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/frontend/src/components/editor/Editor.tsx b/frontend/src/components/editor/Editor.tsx index 8c159ca3..368316f0 100644 --- a/frontend/src/components/editor/Editor.tsx +++ b/frontend/src/components/editor/Editor.tsx @@ -94,9 +94,6 @@ function Editor(props: EditorProps) { ], }); - // Vim key mapping: Map 'jj' to '' in insert mode - Vim.map("jj", "", "insert"); - const view = new EditorView({ state, parent: element }); dispatch(setCmView(view));