Last active
December 27, 2015 13:49
-
-
Save neilrenicker/7336385 to your computer and use it in GitHub Desktop.
Simple key bindings for multiple panes in Sublime Text 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
//** CUSTOM SET_LAYOUT BINDINGS **// | |
{ | |
"keys": ["super+alt+left"], | |
"command": "set_layout", | |
"args": | |
{ | |
"cols": [0.0, 0.33, 1.0], | |
"rows": [0.0, 1.0], | |
"cells": [[0, 0, 1, 1], [1, 0, 2, 1]] | |
} | |
}, | |
{ | |
"keys": ["super+alt+right"], | |
"command": "set_layout", | |
"args": | |
{ | |
"cols": [0.0, 0.66, 1.0], | |
"rows": [0.0, 1.0], | |
"cells": [[0, 0, 1, 1], [1, 0, 2, 1]] | |
} | |
}, | |
{ | |
"keys": ["super+alt+up"], | |
"command": "set_layout", | |
"args": | |
{ | |
"cols": [0.0, 0.5, 1.0], | |
"rows": [0.0, 1.0], | |
"cells": [[0, 0, 1, 1], [1, 0, 2, 1]] | |
} | |
}, | |
{ | |
"keys": ["super+alt+down"], | |
"command": "set_layout", | |
"args": | |
{ | |
"cols": [0.0, 1.0], | |
"rows": [0.0, 1.0], | |
"cells": [[0, 0, 1, 1]] | |
} | |
}, | |
//** CUSTOM MOVE_TO_GROUP BINDINGS **// | |
{ "keys": ["alt+1"], "command": "move_to_group", "args": { "group": 0 } }, | |
{ "keys": ["alt+2"], "command": "move_to_group", "args": { "group": 1 } }, | |
{ "keys": ["alt+3"], "command": "move_to_group", "args": { "group": 2 } }, | |
{ "keys": ["alt+4"], "command": "move_to_group", "args": { "group": 3 } } | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note: add these bindings to Preferences > Key Bindings - User.