From e46a014dd7e2669caf9bb69e3e780ca3ef21ecc5 Mon Sep 17 00:00:00 2001 From: Jonatan Heyman Date: Thu, 12 Sep 2024 11:42:38 +0200 Subject: [PATCH] Remove C-p and C-n key bindings from Emacs mode (since they interfer with new key bindings for multiple notes support) --- src/editor/emacs.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/editor/emacs.js b/src/editor/emacs.js index b002233..53fdfb2 100644 --- a/src/editor/emacs.js +++ b/src/editor/emacs.js @@ -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 }, ])),