Skip to content

Commit

Permalink
Remove C-p and C-n key bindings from Emacs mode
Browse files Browse the repository at this point in the history
(since they interfer with new key bindings for multiple notes support)
  • Loading branch information
heyman committed Sep 12, 2024
1 parent 302bb16 commit 7121042
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/editor/emacs.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,6 @@ export function emacsKeymap(editor) {

{ key: "Ctrl-b", run: emacsMoveCommand(cursorCharLeft, selectCharLeft), shift: selectCharLeft },
{ key: "Ctrl-f", run: emacsMoveCommand(cursorCharRight, selectCharRight), shift: selectCharRight },
{ key: "Ctrl-p", run: emacsMoveCommand(cursorLineUp, selectLineUp), shift: selectLineUp },
{ key: "Ctrl-n", run: emacsMoveCommand(cursorLineDown, selectLineDown), shift: selectLineDown },
{ key: "Ctrl-a", run: emacsMoveCommand(cursorLineStart, selectLineStart), shift: selectLineStart },
{ key: "Ctrl-e", run: emacsMoveCommand(cursorLineEnd, selectLineEnd), shift: selectLineEnd },
])),
Expand Down

0 comments on commit 7121042

Please sign in to comment.