Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.