restore search window

This commit is contained in:
2023-11-11 13:53:53 +01:00
parent 712b68e599
commit 5a2f22574a
6 changed files with 4585 additions and 10 deletions

View File

@ -21,7 +21,7 @@ import {
bracketMatching,
} from "@codemirror/language";
import { defaultKeymap, historyKeymap, history } from "@codemirror/commands";
import { highlightSelectionMatches } from "@codemirror/search";
import { searchKeymap, highlightSelectionMatches } from "@codemirror/search"
import {
autocompletion,
closeBrackets,
@ -60,6 +60,7 @@ export const editorSetup: Extension = (() => [
highlightActiveLine(),
highlightSelectionMatches(),
keymap.of([
...searchKeymap,
...closeBracketsKeymap,
...defaultKeymap,
...historyKeymap,