Skip to content

Instantly share code, notes, and snippets.

@nitinthewiz
Forked from 5eleven/Main.Sublime-menu file
Created May 10, 2016 17:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nitinthewiz/34449cd230eaeda05423a799d735a178 to your computer and use it in GitHub Desktop.
Save nitinthewiz/34449cd230eaeda05423a799d735a178 to your computer and use it in GitHub Desktop.
Sublime Text 2 Layout: Grid: 6
// "Cols" and "Rows" specify the coordinates in x and y.
// Cells create cells by indexing the rows and cols array in the order [startx, starty, endx, endy].
// Edit your Main.Sublime-menu file
// Mac: /Users/yourMacName/Library/Application Support/Sublime Text 2/Packages/Default
// PC: C:\Users\yourPCName\AppData\Roaming\Sublime Text 2\Packages\Default
// Example Below:
{
"caption": "Grid: 6",
"command": "set_layout",
"args":
{
"cols": [0.0, 0.33, 0.66, 1.0],
"rows": [0.0, 0.5, 1.0],
"cells":
[
[0, 0, 1, 1], [1, 0, 2, 1], [2, 0, 3, 1],
[0, 1, 1, 2], [1, 1, 2, 2], [2, 1, 3, 2]
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment