Instantly share code, notes, and snippets.
Created
September 25, 2018 03:05
-
Star
(0)
0
You must be signed in to star a gist -
Fork
(0)
0
You must be signed in to fork a gist
-
Save yuyosy/09787c98444538777513c77fc244f210 to your computer and use it in GitHub Desktop.
SublimeText3 Custom Layout (Add few layouts)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"caption": "Layout", | |
"mnemonic": "L", | |
"id": "layout", | |
"children": | |
[ | |
{ | |
"caption": "Single", | |
"command": "set_layout", | |
"args": | |
{ | |
"cols": [0.0, 1.0], | |
"rows": [0.0, 1.0], | |
"cells": [[0, 0, 1, 1]] | |
} | |
}, | |
{ | |
"caption": "-", "id": "groups" | |
}, | |
{ | |
"caption": "Columns: 2", | |
"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]] | |
} | |
}, | |
{ | |
"caption": "Columns: 3", | |
"command": "set_layout", | |
"args": | |
{ | |
"cols": [0.0, 0.33, 0.66, 1.0], | |
"rows": [0.0, 1.0], | |
"cells": [[0, 0, 1, 1], [1, 0, 2, 1], [2, 0, 3, 1]] | |
} | |
}, | |
{ | |
"caption": "Columns: 4", | |
"command": "set_layout", | |
"args": | |
{ | |
"cols": [0.0, 0.25, 0.5, 0.75, 1.0], | |
"rows": [0.0, 1.0], | |
"cells": [[0, 0, 1, 1], [1, 0, 2, 1], [2, 0, 3, 1], [3, 0, 4, 1]] | |
} | |
}, | |
{ | |
"caption": "Columns: 5", | |
"command": "set_layout", | |
"args": | |
{ | |
"cols": [0.0, 0.2, 0.4, 0.6, 0.8, 1.0], | |
"rows": [0.0, 1.0], | |
"cells": [[0, 0, 1, 1], [1, 0, 2, 1], [2, 0, 3, 1], [3, 0, 4, 1], [4, 0, 5, 1]] | |
} | |
}, | |
{ | |
"caption": "-", "id": "groups" | |
}, | |
{ | |
"caption": "Rows: 2", | |
"command": "set_layout", | |
"args": | |
{ | |
"cols": [0.0, 1.0], | |
"rows": [0.0, 0.5, 1.0], | |
"cells": [[0, 0, 1, 1], [0, 1, 1, 2]] | |
} | |
}, | |
{ | |
"caption": "Rows: 3", | |
"command": "set_layout", | |
"args": | |
{ | |
"cols": [0.0, 1.0], | |
"rows": [0.0, 0.33, 0.66, 1.0], | |
"cells": [[0, 0, 1, 1], [0, 1, 1, 2], [0, 2, 1, 3]] | |
} | |
}, | |
{ | |
"caption": "Rows: 4", | |
"command": "set_layout", | |
"args": | |
{ | |
"cols": [0.0, 1.0], | |
"rows": [0.0, 0.25, 0.5, 0.75, 1.0], | |
"cells": [[0, 0, 1, 1], [0, 1, 1, 2], [0, 2, 1, 3], [0, 3, 1, 4]] | |
} | |
}, | |
{ | |
"caption": "-", "id": "groups" | |
}, | |
{ | |
"caption": "Grid: 4", | |
"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, 1, 2], [1, 1, 2, 2] | |
] | |
} | |
}, | |
{ | |
"caption": "Cols: 2, Rows: 1", | |
"command": "set_layout", | |
"args": | |
{ | |
"rows": [0.0, 0.5, 1.0], | |
"cols": [0.0, 0.7, 1.0], | |
"cells": | |
[ | |
[0,0,1,1], [1,0,2,2], [0,1,1,2] | |
] | |
} | |
}, | |
{ | |
"caption": "Cols: 1, Rows: 2", | |
"command": "set_layout", | |
"args": | |
{ | |
"rows": [0.0, 0.5, 1.0], | |
"cols": [0.0, 0.3, 1.0], | |
"cells": | |
[ | |
[0,0,1,2], [1,0,2,1], [1,1,2,2] | |
] | |
} | |
}, | |
{ | |
"caption": "Cols: 1, Rows: 2, Cols: 1", | |
"command": "set_layout", | |
"args": | |
{ | |
"rows": [0.0, 0.5, 1.0], | |
"cols": [0.0, 0.2, 0.8, 1.0], | |
"cells": | |
[ | |
[0,0,1,2], [1,0,2,1], [1,1,2,2], [2,0,3,2] | |
] | |
} | |
} | |
] | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment