Skip to content

Instantly share code, notes, and snippets.

@sbine
Created November 14, 2012 17:54
Show Gist options
  • Save sbine/4073661 to your computer and use it in GitHub Desktop.
Save sbine/4073661 to your computer and use it in GitHub Desktop.
Custom 3-pane Sublime Text window layouts
[{
"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]
]
}
}
]
}]
}]
@kenchangh
Copy link

Thank you for this Gist, was really helpful! :)

@josephfusco
Copy link

Thanks!

@lfalmeida
Copy link

great! thanks

@colinhunt
Copy link

Instructions:

Create the file Main.sublime-menu in your Packages > User folder (best to leave the default menu alone) and put this code in it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment