This commit is contained in:
Zef Hemel
2024-01-24 14:03:14 +01:00
parent 488fa84d50
commit a9ce68860e
4 changed files with 12 additions and 16 deletions
+2
View File
@@ -20,6 +20,7 @@ import {
vim,
vimGetCm,
} from "../deps.ts";
import { createCommandKeyBindings } from "../editor_state.ts";
type MiniEditorEvents = {
onEnter: (newText: string, shiftDown?: boolean) => void;
@@ -197,6 +198,7 @@ export function MiniEditor(
...standardKeymap,
...historyKeymap,
...completionKeymap,
...createCommandKeyBindings(window.client),
]),
EditorView.domEventHandlers({
click: (e) => {