From 96c4934c00703a93e4887af1bab20d953823c8ed Mon Sep 17 00:00:00 2001 From: zadam Date: Thu, 9 Jun 2022 23:38:07 +0200 Subject: [PATCH] new default keyboard shortcuts alt+up/down/left/right for moving notes on Mac --- src/services/keyboard_actions.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/services/keyboard_actions.js b/src/services/keyboard_actions.js index 3f2620e3c..2ee04fa5e 100644 --- a/src/services/keyboard_actions.js +++ b/src/services/keyboard_actions.js @@ -98,25 +98,25 @@ const DEFAULT_KEYBOARD_ACTIONS = [ }, { actionName: "moveNoteUp", - defaultShortcuts: ["CommandOrControl+Up"], + defaultShortcuts: isMac ? ["Alt+Up"] : ["CommandOrControl+Up"], description: "Move note up", scope: "note-tree" }, { actionName: "moveNoteDown", - defaultShortcuts: ["CommandOrControl+Down"], + defaultShortcuts: isMac ? ["Alt+Down"] : ["CommandOrControl+Down"], description: "Move note down", scope: "note-tree" }, { actionName: "moveNoteUpInHierarchy", - defaultShortcuts: ["CommandOrControl+Left"], + defaultShortcuts: isMac ? ["Alt+Left"] : ["CommandOrControl+Left"], description: "Move note up in hierarchy", scope: "note-tree" }, { actionName: "moveNoteDownInHierarchy", - defaultShortcuts: ["CommandOrControl+Right"], + defaultShortcuts: isMac ? ["Alt+Right"] : ["CommandOrControl+Right"], description: "Move note down in hierarchy", scope: "note-tree" },