Skip to content

Instantly share code, notes, and snippets.

@malexandre
Created April 17, 2014 10:03
Show Gist options
  • Save malexandre/10970485 to your computer and use it in GitHub Desktop.
Save malexandre/10970485 to your computer and use it in GitHub Desktop.
Config file to add custom 3 pane mode in sublime text 3, with one pane large as the 2 other pane combined. Put this file in .config/sublime-text-3/Packages/User.
[{
"id": "view",
"children": [{
"id": "layout",
"children": [
{
"command": "set_layout",
"caption" : "Custom: 3 Pane (2T 1B)",
"mnemonic": "C",
"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]
]
}
},
{
"command": "set_layout",
"caption" : "Custom: 3 Pane (1T 2B)",
"mnemonic": "C",
"args": {
"cols": [0.0, 0.5, 1.0],
"rows": [0.0, 0.5, 1.0],
"cells": [
[0, 0, 2, 1],
[0, 1, 1, 2],
[1, 1, 2, 2]
]
}
},
{
"command": "set_layout",
"caption" : "Custom: 3 Pane (1L 2R)",
"mnemonic": "C",
"args": {
"cols": [0.0, 0.5, 1.0],
"rows": [0.0, 0.5, 1.0],
"cells": [
[0, 0, 1, 2],
[1, 0, 2, 1],
[1, 1, 2, 2]
]
}
},
{
"command": "set_layout",
"caption" : "Custom: 3 Pane (2L 1R)",
"mnemonic": "C",
"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