Skip to content

Commit

Permalink
Change the order of vim key binding
Browse files Browse the repository at this point in the history
  • Loading branch information
devleejb committed Sep 13, 2024
1 parent 34a52c3 commit cc6f848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/editor/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ function Editor(props: EditorProps) {
const state = EditorState.create({
doc: editorStore.doc.getRoot().content?.toString() ?? "",
extensions: [
configStore.codeKey === CodeKeyType.VIM ? vim() : [],
keymap.of(setKeymapConfig()),
basicSetup,
markdown(),
configStore.codeKey === CodeKeyType.VIM ? vim() : [],
themeMode == "light" ? xcodeLight : xcodeDark,
EditorView.theme({ "&": { width: "100%" } }),
EditorView.lineWrapping,
Expand Down

0 comments on commit cc6f848

Please sign in to comment.