Skip to content

Instantly share code, notes, and snippets.

@tomschlick
Created October 31, 2012 05:02
Show Gist options
  • Save tomschlick/3984898 to your computer and use it in GitHub Desktop.
Save tomschlick/3984898 to your computer and use it in GitHub Desktop.
Sublime Text 2 Keybindings to Resize Split Panes
[
{
"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], [1, 0, 2, 1]]
}
},
{ "keys": ["ctrl+shift+left"], "command": "move_to_group", "args": { "group": 0 } },
{ "keys": ["ctrl+shift+right"], "command": "move_to_group", "args": { "group": 1 } }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment