From b47d041a99c8186061e433e47abad46b15162a9a Mon Sep 17 00:00:00 2001 From: Raphael Forment Date: Tue, 19 Dec 2023 22:09:11 +0100 Subject: [PATCH] turn off codemirror search --- src/EditorSetup.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/EditorSetup.ts b/src/EditorSetup.ts index aff82d7..556ebf3 100644 --- a/src/EditorSetup.ts +++ b/src/EditorSetup.ts @@ -20,7 +20,7 @@ import { HighlightStyle, } from "@codemirror/language"; import { defaultKeymap, historyKeymap, history } from "@codemirror/commands"; -import { searchKeymap, highlightSelectionMatches } from "@codemirror/search"; +import { highlightSelectionMatches } from "@codemirror/search"; import { autocompletion, closeBrackets, @@ -259,7 +259,7 @@ export const editorSetup: Extension = (() => [ highlightActiveLine(), highlightSelectionMatches(), keymap.of([ - ...searchKeymap, + // ...searchKeymap, ...closeBracketsKeymap, ...defaultKeymap, ...historyKeymap,