Skip to content

Instantly share code, notes, and snippets.

@GCheung55
Created January 26, 2012 00:08
Show Gist options
  • Save GCheung55/1679905 to your computer and use it in GitHub Desktop.
Save GCheung55/1679905 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 (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]
]
}
}]
}]
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment