Skip to content

Instantly share code, notes, and snippets.

@balanceiskey
Last active August 29, 2015 14:15
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 balanceiskey/3f73d5b388715d0e08e3 to your computer and use it in GitHub Desktop.
Save balanceiskey/3f73d5b388715d0e08e3 to your computer and use it in GitHub Desktop.
Sublime Keybindings
[
{ "keys": ["ctrl+s"], "command": "toggle_side_bar" },
{ "keys": ["super+shift+w"], "command": "close_all" },
{ "keys": ["super+alt+w"], "command": "close_others" },
// Pane jumping for adults (via origami)
{ "keys": ["L"], "command": "travel_to_pane", "args": {"direction": "right"}, "context": [{"key": "setting.command_mode", "operand": true}]},
{ "keys": ["H"], "command": "travel_to_pane", "args": {"direction": "left"}, "context": [{"key": "setting.command_mode", "operand": true}]},
{ "keys": ["J"], "command": "travel_to_pane", "args": {"direction": "down"}, "context": [{"key": "setting.command_mode", "operand": true}]},
{ "keys": ["K"], "command": "travel_to_pane", "args": {"direction": "up"}, "context": [{"key": "setting.command_mode", "operand": true}]},
// window throwing (via origami)
{ "keys": ["shift+super+l"], "command": "carry_file_to_pane", "args": {"direction": "right"} },
{ "keys": ["shift+super+h"], "command": "carry_file_to_pane", "args": {"direction": "left"} },
// pseudo-vim equal pane (via origami)
{ "keys": ["ctrl+w", "="], "command": "unzoom_pane", "args": {}},
// Vim bindings in sidebar
{ "keys": ["h"], "command": "move", "args": {"by": "characters", "forward": false}, "context":
[ {"key": "control", "operand": "sidebar_tree"} ]
},
{ "keys": ["j"], "command": "move", "args": {"by": "lines", "forward": true}, "context":
[ {"key": "control", "operand": "sidebar_tree"} ]
},
{ "keys": ["k"], "command": "move", "args": {"by": "lines", "forward": false}, "context":
[ {"key": "control", "operand": "sidebar_tree"} ]
},
{ "keys": ["l"], "command": "move", "args": {"by": "characters", "forward": true}, "context":
[ {"key": "control", "operand": "sidebar_tree"} ]
},
// L E A D E R
// todos
{ "keys": [",", "t"], "command": "todo_review", "args": {"paths": [], "open_files": true}}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment