Caret/config/keys.json
Thomas Wilburn 98e0a4f96a Merge #76
Corrected a possible array index error, used numbers instead of strings
for JSON. I should probably be better about being defensive, but
nothing's perfect.
2013-11-24 20:27:52 -05:00

29 lines
No EOL
1 KiB
JSON

{
//basic navigation/application keys
"^-o": "session:open-file",
"^-w": "session:close-tab",
"^-s": "session:save-file",
"^-S": "session:save-file-as",
"^-n": "session:new-file",
"^-tab": "session:change-tab",
"^-TAB": { "command": "session:change-tab", "argument": -1 },
//Chromebook fixes
"^-up": { "ace": "addCursorAbove" },
"^-down": { "ace": "addCursorBelow" },
//Sublime compatibility
"^-l": "sublime:expand-to-line",
"^-d": { "ace": "selectMoreAfter" },
"^-p": { "command": "palette:open" },
"^-P": { "command": "palette:open", "argument": "command" },
"^-r": { "command": "palette:open", "argument": "reference" },
"^-g": { "command": "palette:open", "argument": "line" },
"^-m": { "ace": "jumptomatching" },
"^-M": { "command": "sublime:expand-to-matching" },
"^-q": { "command": "ace:togglemacro" },
"^-Q": { "ace": "replaymacro" },
"^--": { "command": "editor:adjust-zoom", "argument": -1 },
"^-=": { "command": "editor:adjust-zoom", "argument": 1 },
"^-0": { "command": "editor:default-zoom" }
}