Skip to content

Commit

Permalink
Add mod-arrowleft/right, too
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathonherbert committed Nov 18, 2024
1 parent 034a164 commit 60a4696
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions prosemirror-client/src/cqlInput/editor/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ export const createEditorView = ({
keymap({
"Mod-z": undo,
"Mod-y": redo,
Home: topOfLine,
"Mod-ArrowLeft": topOfLine,
"Ctrl-a": topOfLine,
End: bottomOfLine,
Home: topOfLine,
"Mod-ArrowRight": bottomOfLine,
"Ctrl-e": bottomOfLine,
End: bottomOfLine,
}),
keymap(baseKeymap),
history(),
Expand Down

0 comments on commit 60a4696

Please sign in to comment.