changed: commands order (for mobile)

This commit is contained in:
quenousimporte 2023-11-13 15:23:59 +01:00
parent d396e379d4
commit 9981af5f3b
1 changed files with 18 additions and 18 deletions

36
main.js
View File

@ -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,