mirror of
https://github.com/heyman/heynote.git
synced 2024-11-21 23:43:22 +01:00
Fix cursor movement using Ctrl-left/right with Emacs key bindings in "mark mode"
This commit is contained in:
parent
4c910c6872
commit
c049fc5f2a
@ -67,12 +67,12 @@ export function emacsKeymap(editor) {
|
||||
["Ctrl-Shift--", undo],
|
||||
["Ctrl-.", redo],
|
||||
["Ctrl-g", emacsCancel],
|
||||
{key:"Ctrl-ArrowLeft", run:cursorGroupLeft, shift:selectGroupLeft},
|
||||
{key:"Ctrl-ArrowRight", run:cursorGroupRight, shift:selectGroupRight},
|
||||
["ArrowLeft", emacsMoveCommand(cursorCharLeft, selectCharLeft)],
|
||||
["ArrowRight", emacsMoveCommand(cursorCharRight, selectCharRight)],
|
||||
["ArrowUp", emacsMoveCommand(cursorLineUp, selectLineUp)],
|
||||
["ArrowDown", emacsMoveCommand(cursorLineDown, selectLineDown)],
|
||||
["Ctrl-ArrowLeft", emacsMoveCommand(cursorGroupLeft, selectGroupLeft)],
|
||||
["Ctrl-ArrowRight", emacsMoveCommand(cursorGroupRight, selectGroupRight)],
|
||||
|
||||
["Ctrl-d", deleteCharForward],
|
||||
["Ctrl-h", deleteCharBackward],
|
||||
|
Loading…
Reference in New Issue
Block a user