2013-08-31 20:23:41 +00:00
|
|
|
{
|
2014-06-25 23:09:17 +00:00
|
|
|
//To disable a key completely, set its value to null
|
|
|
|
|
2013-09-06 02:07:01 +00:00
|
|
|
//basic navigation/application keys
|
2013-12-16 22:54:11 +00:00
|
|
|
"Ctrl-O": "session:open-file",
|
|
|
|
"Ctrl-W": "session:close-tab",
|
|
|
|
"Ctrl-S": "session:save-file",
|
2013-12-17 01:21:22 +00:00
|
|
|
"Ctrl-Shift-S": "session:save-file-as",
|
2013-12-16 22:54:11 +00:00
|
|
|
"Ctrl-N": "session:new-file",
|
|
|
|
"Ctrl-Tab": "session:change-tab",
|
|
|
|
"Ctrl-Shift-Tab": { "command": "session:change-tab", "argument": -1 },
|
2013-09-06 02:07:01 +00:00
|
|
|
|
2013-09-15 17:34:07 +00:00
|
|
|
//Chromebook fixes
|
2013-12-16 22:54:11 +00:00
|
|
|
"Ctrl-Up": { "ace": "addCursorAbove" },
|
|
|
|
"Ctrl-Down": { "ace": "addCursorBelow" },
|
2014-01-27 19:38:10 +00:00
|
|
|
"Ctrl-Home": { "ace": "gotostart" },
|
|
|
|
"Ctrl-End": { "ace": "gotoend" },
|
|
|
|
"Ctrl-PageUp": { "ace": "gotostart" },
|
|
|
|
"Ctrl-PageDown": { "ace": "gotoend" },
|
|
|
|
"Alt-PageDown": { "ace": "gotopagedown" },
|
|
|
|
"PageDown": { "ace": "gotopagedown" },
|
|
|
|
"Alt-PageUp": { "ace": "gotopageup" },
|
|
|
|
"PageUp": {"ace": "gotopageup" },
|
|
|
|
"Alt-Home": { "ace": "gotolinestart" },
|
|
|
|
"Home": { "ace": "gotolinestart" },
|
|
|
|
"Alt-End": { "ace": "gotolineend" },
|
|
|
|
"End": { "ace": "gotolineend" },
|
2014-05-15 14:31:38 +00:00
|
|
|
"Ctrl-Space": { "ace": "startAutocomplete" },
|
2013-09-15 17:34:07 +00:00
|
|
|
|
2013-09-06 02:07:01 +00:00
|
|
|
//Sublime compatibility
|
2014-08-31 06:01:02 +00:00
|
|
|
"Ctrl-L": { "ace": "expandtoline" },
|
2014-05-24 23:34:00 +00:00
|
|
|
"Alt-Q": "sublime:wrap",
|
2015-01-20 18:14:57 +00:00
|
|
|
"Ctrl-D": "sublime:select-or-more-after",
|
2013-12-16 22:54:11 +00:00
|
|
|
"Ctrl-P": { "command": "palette:open" },
|
|
|
|
"Ctrl-Shift-P": { "command": "palette:open", "argument": "command" },
|
|
|
|
"Ctrl-R": { "command": "palette:open", "argument": "reference" },
|
|
|
|
"Ctrl-G": { "command": "palette:open", "argument": "line" },
|
|
|
|
"Ctrl-M": { "ace": "jumptomatching" },
|
|
|
|
"Ctrl-Shift-M": { "command": "sublime:expand-to-matching" },
|
|
|
|
"Ctrl-Q": { "command": "ace:togglemacro" },
|
|
|
|
"Ctrl-Shift-Q": { "ace": "replaymacro" },
|
|
|
|
"Ctrl--": { "command": "editor:adjust-zoom", "argument": -1 },
|
|
|
|
"Ctrl-=": { "command": "editor:adjust-zoom", "argument": 1 },
|
2014-03-25 02:22:52 +00:00
|
|
|
"Ctrl-0": { "command": "editor:default-zoom" },
|
2014-07-16 01:12:28 +00:00
|
|
|
"Ctrl-J": { "ace": "joinlines" },
|
2014-08-25 14:40:44 +00:00
|
|
|
"Ctrl-Shift-Up": { "ace": "movelinesup" },
|
|
|
|
"Ctrl-Shift-Down": { "ace": "movelinesdown" },
|
2014-03-25 02:22:52 +00:00
|
|
|
|
|
|
|
//dev mode
|
2014-04-04 06:45:19 +00:00
|
|
|
"Ctrl-.": { "command": "app:show-prompt" }
|
2014-08-25 14:40:44 +00:00
|
|
|
}
|