87 lines
No EOL
4 KiB
JSON
87 lines
No EOL
4 KiB
JSON
[
|
|
{
|
|
"label": "File",
|
|
"sub": [
|
|
{ "label": "New File", "command": "session:new-file" },
|
|
{ "label": "Open File", "command": "session:open-file" },
|
|
{ "label": "Save", "command": "session:save-file" },
|
|
{ "label": "Save As", "command": "session:save-file-as" },
|
|
{ "label": "Revert", "command": "session:revert-file" },
|
|
{ "label": "Close", "command": "session:close-tab" },
|
|
{ "label": "Exit", "command": "app:exit" }
|
|
]
|
|
},
|
|
{
|
|
"label": "Edit",
|
|
"sub": [
|
|
{ "label": "Undo", "command": "ace:command", "argument": "undo" },
|
|
{ "label": "Redo", "command": "ace:command", "argument": "redo" },
|
|
"divider",
|
|
{ "label": "Select Word", "command": "sublime:expand-to-word" },
|
|
{ "label": "Select Line", "command": "sublime:expand-to-line" },
|
|
{ "label": "Select Paragraph", "command": "sublime:expand-to-paragraph" },
|
|
{ "label": "Select to Matching", "command": "sublime:expand-to-matching" },
|
|
"divider",
|
|
{ "label": "Find", "command": "ace:command", "argument": "find" },
|
|
{ "label": "Find/Replace", "command": "ace:command", "argument": "replace" },
|
|
{ "label": "Find Next", "command": "ace:command", "argument": "findnext" },
|
|
"divider",
|
|
{ "label": "Toggle Comment", "command": "ace:command", "argument": "togglecomment" },
|
|
{ "label": "Block Comment", "command": "ace:command", "argument": "toggleBlockComment" },
|
|
"divider",
|
|
{ "label": "Sort Lines", "command": "ace:command", "argument": "sortlines" },
|
|
{ "label": "Split Line", "command": "ace:command", "argument": "splitline" },
|
|
{ "label": "To Uppercase", "command": "ace:command", "argument": "touppercase" },
|
|
{ "label": "To Lowercase", "command": "ace:command", "argument": "tolowercase" },
|
|
{ "label": "Move Lines Up", "command": "ace:command", "argument": "movelinesup" },
|
|
{ "label": "Move Lines Down", "command": "ace:command", "argument": "movelinesdown" }
|
|
]
|
|
},
|
|
{
|
|
"label": "Tools",
|
|
"sub": [
|
|
{ "label": "Go To Anything", "command": "palette:open" },
|
|
{ "label": "Go To Line", "command": "palette:open", "argument": "line" },
|
|
{ "label": "Go To Search", "command": "palette:open", "argument": "search" },
|
|
{ "label": "Command Palette", "command": "palette:open", "argument": "command" },
|
|
"divider",
|
|
/*
|
|
Planned here:
|
|
plugins
|
|
go to line/reference shortcuts
|
|
fullscreen
|
|
build system via NaCl
|
|
"divider",
|
|
*/
|
|
{ "label": "Toggle Macro Recording", "command": "ace:togglemacro" },
|
|
{ "label": "Replay Macro", "command": "ace:command", "argument": "replaymacro" }
|
|
]
|
|
},
|
|
{
|
|
"label": "Settings",
|
|
"sub": [
|
|
{ "label": "User Preferences", "command": "session:open-settings-file", "argument": "user" },
|
|
{ "label": "Keyboard", "command": "session:open-settings-file", "argument": "keys" },
|
|
{ "label": "Menus", "command": "session:open-settings-file", "argument": "menus" },
|
|
"divider",
|
|
{ "label": "View Defaults",
|
|
"sub": [
|
|
{ "label": "User Preferences", "command": "session:open-settings-defaults", "argument": "user", "palette": "User Preferences (Defaults)" },
|
|
{ "label": "Keyboard", "command": "session:open-settings-defaults", "argument": "keys", "palette": "Keyboard (Defaults)" },
|
|
{ "label": "Menus", "command": "session:open-settings-defaults", "argument": "menus", "palette": "Menus (Defaults)" }
|
|
]
|
|
},
|
|
{ "label": "Reset",
|
|
"sub": [
|
|
{ "label": "User Preferences", "command": "settings:delete-local", "argument": "user", "palette": "Reset User Preferences" },
|
|
{ "label": "Keyboard", "command": "settings:delete-local", "argument": "keys", "palette": "Reset Keyboard" },
|
|
{ "label": "Menus", "command": "settings:delete-local", "argument": "menus", "palette": "Reset Menus" }
|
|
]
|
|
},
|
|
"divider",
|
|
{ "label": "Help", "command": "session:open-settings-defaults", "argument": "help" },
|
|
{ "label": "About Caret", "command": "app:about" }
|
|
]
|
|
}
|
|
|
|
] |