forked from 0x2620/oxjs
adding keyboard shortcuts
This commit is contained in:
parent
417c641e74
commit
273e13190a
2 changed files with 16 additions and 15 deletions
|
|
@ -74,26 +74,26 @@
|
|||
id: "file",
|
||||
title: "File",
|
||||
items: [
|
||||
{ id: "load", title: "Load" },
|
||||
{ id: "save", title: "Save" },
|
||||
{ id: "save_ad", title: "Save As..."}
|
||||
{ id: "load", keyboard: "control o", title: "Open" },
|
||||
{ id: "save", keyboard: "control a", title: "Save" },
|
||||
{ id: "save_ad", keyboard: "shift control s", title: "Save As..."}
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "edit",
|
||||
title: "Edit",
|
||||
items: [
|
||||
{ id: "undo", title: "Undo" },
|
||||
{ id: "redo", title: "Redo" },
|
||||
{ id: "undo", keyboard: "control z", title: "Undo" },
|
||||
{ id: "redo", keyboard: "shift control z", title: "Redo" },
|
||||
{},
|
||||
{ id: "cut", title: "Cut" },
|
||||
{ id: "copy", title: "Copy" },
|
||||
{ id: "paste", title: "Paste"},
|
||||
{ id: "delete", title: "Delete"},
|
||||
{ id: "cut", keyboard: "control x", title: "Cut" },
|
||||
{ id: "copy", keyboard: "control c", title: "Copy" },
|
||||
{ id: "paste", keyboard: "control v", title: "Paste"},
|
||||
{ id: "delete", keyboard: "delete", title: "Delete"},
|
||||
{},
|
||||
{ id: "select_all", title: "Select All" },
|
||||
{ id: "select_none", title: "Select None" },
|
||||
{ id: "invert_selection", title: "Invert Selection" },
|
||||
{ id: "select_all", keyboard: "control a", title: "Select All" },
|
||||
{ id: "select_none", keyboard: "shift control a", title: "Select None" },
|
||||
{ id: "invert_selection", keyboard: "alt control a", title: "Invert Selection" },
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -114,7 +114,7 @@
|
|||
id: "help",
|
||||
title: "Help",
|
||||
items: [
|
||||
{ id: "help", title: "Help" }
|
||||
{ id: "help", keyboard: "control h", title: "Help" }
|
||||
]
|
||||
}
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue