changed: commands order (for mobile)
This commit is contained in:
parent
d396e379d4
commit
9981af5f3b
36
main.js
36
main.js
|
@ -59,11 +59,29 @@ var commands = [
|
||||||
{
|
{
|
||||||
hint: "Close menu"
|
hint: "Close menu"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
shortcut: "ctrl+shift+P",
|
||||||
|
hint: "Command palette",
|
||||||
|
allowunsaved: true,
|
||||||
|
action: commandpalette,
|
||||||
|
excludepalette: true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
shortcut: "ctrl+p",
|
shortcut: "ctrl+p",
|
||||||
hint: "Show notes list",
|
hint: "Show notes list",
|
||||||
action: searchandloadnote
|
action: searchandloadnote
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
shortcut: "ctrl+n",
|
||||||
|
hint: "New note",
|
||||||
|
action: startnewnote
|
||||||
|
},
|
||||||
|
{
|
||||||
|
hint: "Force save",
|
||||||
|
action: save,
|
||||||
|
shortcut: "ctrl+s",
|
||||||
|
allowunsaved: true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
hint: "Share note",
|
hint: "Share note",
|
||||||
action: share,
|
action: share,
|
||||||
|
@ -73,18 +91,6 @@ var commands = [
|
||||||
hint: "Share note (html)",
|
hint: "Share note (html)",
|
||||||
action: sharehtml
|
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",
|
shortcut: "ctrl+g",
|
||||||
hint: "Find in notes",
|
hint: "Find in notes",
|
||||||
|
@ -179,12 +185,6 @@ var commands = [
|
||||||
shortcut: "ctrl+w",
|
shortcut: "ctrl+w",
|
||||||
allowunsaved: true
|
allowunsaved: true
|
||||||
},
|
},
|
||||||
{
|
|
||||||
hint: "Force save",
|
|
||||||
action: save,
|
|
||||||
shortcut: "ctrl+s",
|
|
||||||
allowunsaved: true
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
hint: "Toggle spell check",
|
hint: "Toggle spell check",
|
||||||
action: togglespellcheck,
|
action: togglespellcheck,
|
||||||
|
|
Loading…
Reference in New Issue