Skip to content

Instantly share code, notes, and snippets.

@sillero
Forked from GCheung55/Main.sublime-menu
Created November 1, 2012 18:11
Show Gist options
  • Save sillero/3995473 to your computer and use it in GitHub Desktop.
Save sillero/3995473 to your computer and use it in GitHub Desktop.
Sublime Text 2 Layouts
/**
* Sublime Text 2 Layouts
* Place file in or modify file if existing
*
* OSX: /Users/ [USERNAME] /Library/Application Support/Sublime Text 2/Packages/User/
* Windows: C:\Users\ [USERNAME] \…\Sublime Text 2\Packages\User
*
*/
[{
"id": "view",
"children": [{
"id": "layout",
"children": [{
"caption": "Grid 3 (bottom)",
"command": "set_layout",
"args": {
"cols": [0.0, 0.5, 1.0],
"rows": [0.0, 0.5, 1.0],
"cells": [
[0, 0, 1, 1],
[1, 0, 2, 1],
[0, 1, 2, 2]
]
}
},
{
"caption": "Grid 3 (up)",
"command": "set_layout",
"args": {
"cols": [0.0, 0.5, 1.0],
"rows": [0.0, 0.5, 1.0],
"cells": [
[0, 1, 1, 2],
[1, 1, 2, 2],
[0, 0, 2, 1]
]
}
},
{
"caption": "Grid 3 (left)",
"command": "set_layout",
"args": {
"cols": [0.0, 0.5, 1.0],
"rows": [0.0, 0.5, 1.0],
"cells": [
[1, 0, 2, 1],
[1, 1, 2, 2],
[0, 0, 1, 2]
]
}
},
{
"caption": "Grid 3 (right)",
"command": "set_layout",
"args": {
"cols": [0.0, 0.5, 1.0],
"rows": [0.0, 0.5, 1.0],
"cells": [
[0, 0, 1, 1],
[0, 1, 1, 2],
[1, 0, 2, 2]
]
}
}]
}]
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment