Skip to content

Commit

Permalink
Change the order of vim key binding (#346)
Browse files Browse the repository at this point in the history
  • Loading branch information
devleejb committed Sep 13, 2024
1 parent 5d681e0 commit c75c6af
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 @@ -73,10 +73,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({ highlightSelectionMatches: false }),
markdown(),
configStore.codeKey === CodeKeyType.VIM ? vim() : [],
themeMode == "light" ? xcodeLight : xcodeDark,
EditorView.theme({ "&": { width: "100%" } }),
EditorView.lineWrapping,
Expand Down

0 comments on commit c75c6af

Please sign in to comment.