Skip to content

Instantly share code, notes, and snippets.

@lukewilde
Created April 10, 2013 19:12
Show Gist options
  • Save lukewilde/5357561 to your computer and use it in GitHub Desktop.
Save lukewilde/5357561 to your computer and use it in GitHub Desktop.
Dirty Sublime text 2 panel arranging shortcuts. Only works for 2 panels.
[
{
"keys": ["shift+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": ["shift+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": ["shift+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": ["shift+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+pageup"], "command": "move_to_group", "args": { "group": 0 } },
{ "keys": ["ctrl+shift+pagedown"], "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