Skip to content

Instantly share code, notes, and snippets.

@Geruhn
Last active December 29, 2015 12:58
Show Gist options
  • Save Geruhn/7673586 to your computer and use it in GitHub Desktop.
Save Geruhn/7673586 to your computer and use it in GitHub Desktop.
Sublime: Keybinding for [1,1][0,1] cells layout (one big cell in the left column, two halves in the right column) Example: http://twitpic.com/dmrbv8
{
"keys": ["alt+shift+6"],
"command": "set_layout",
"args":
{
"cols": [0.0, 0.45, 1.0],
"rows": [0.0, 0.5, 1.0],
"cells":
[
[0, 0, 1, 2], [1, 0, 2, 1],
[1, 1, 2, 2]
]
}
},
{
"keys": ["alt+shift+7"],
"command": "set_layout",
"args":
{
"cols": [0.0, 0.5, 1.0],
"rows": [0.0, 0.45, 1.0],
"cells":
[
[0, 0, 1, 1], [1, 0, 2, 1],
[0, 1, 2, 2]
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment