Skip to content

Instantly share code, notes, and snippets.

@michaelkoper
Last active December 23, 2015 17:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelkoper/6668097 to your computer and use it in GitHub Desktop.
Save michaelkoper/6668097 to your computer and use it in GitHub Desktop.
Sublime User Keymap
[
{ "keys": ["ctrl+alt+super+d"], "command": "toggle_side_bar" },
{ "keys": ["super+shift+l"], "command": "expand_selection", "args": {"to": "line"} },
{ "keys": ["ctrl+super+r"], "command": "reveal_in_side_bar" },
{ "keys": ["super+shift+1"], "command": "focus_group", "args": { "group": 0 } },
{ "keys": ["super+shift+2"], "command": "focus_group", "args": { "group": 1 } },
{ "keys": ["alt+shift+up"], "command": "select_lines", "args": {"forward": false} },
{ "keys": ["alt+shift+down"], "command": "select_lines", "args": {"forward": true} },
{ "keys": ["command+shift+."], "command": "insert_snippet", "args": {"name": "Packages/User/erb.sublime-snippet"} },
{ "keys": ["ctrl+command+w"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} },
// vintage mode
// exit insert mode
{ "keys": ["i", "i"], "command": "exit_insert_mode",
"context": [
{ "key": "setting.command_mode", "operand": false },
{ "key": "setting.is_widget", "operand": false }
]
},
// vintage - window controls
// close window
{ "keys": [",", "c", "c"], "command": "close",
"context": [{"key": "setting.vintage_ctrl_keys"}, {"key": "setting.command_mode"}]
},
{ "keys": ["g", "t"], "command": "next_view",
"context": [
{ "key": "setting.command_mode", "operand": true },
{ "key": "setting.is_widget", "operand": false }
]
},
{ "keys": ["g", "T"], "command": "prev_view",
"context": [
{ "key": "setting.command_mode", "operand": true },
{ "key": "setting.is_widget", "operand": false }
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment