From 9981af5f3bd4eae186829f744bc5db544fe0f9b1 Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Mon, 13 Nov 2023 15:23:59 +0100 Subject: [PATCH] changed: commands order (for mobile) --- main.js | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/main.js b/main.js index dd29497..9bad561 100644 --- a/main.js +++ b/main.js @@ -59,11 +59,29 @@ var commands = [ { hint: "Close menu" }, +{ + shortcut: "ctrl+shift+P", + hint: "Command palette", + allowunsaved: true, + action: commandpalette, + excludepalette: true +}, { shortcut: "ctrl+p", hint: "Show notes list", action: searchandloadnote }, +{ + shortcut: "ctrl+n", + hint: "New note", + action: startnewnote +}, +{ + hint: "Force save", + action: save, + shortcut: "ctrl+s", + allowunsaved: true +}, { hint: "Share note", action: share, @@ -73,18 +91,6 @@ var commands = [ hint: "Share note (html)", action: sharehtml }, -{ - shortcut: "ctrl+n", - hint: "New note", - action: startnewnote -}, -{ - shortcut: "ctrl+shift+P", - hint: "Command palette", - allowunsaved: true, - action: commandpalette, - excludepalette: true -}, { shortcut: "ctrl+g", hint: "Find in notes", @@ -179,12 +185,6 @@ var commands = [ shortcut: "ctrl+w", allowunsaved: true }, -{ - hint: "Force save", - action: save, - shortcut: "ctrl+s", - allowunsaved: true -}, { hint: "Toggle spell check", action: togglespellcheck,