You can use macros. Like so:
.sublime-keymap:
- Code: Select all
{ "keys": ["left"], "command": "run_macro_file", "args": {"file": "Packages/User/Left Layout.sublime-macro"} },
Packages/User/Left Layout.sublime-macro:
- Code: Select all
[
"command": "set_layout",
"args":
{
"cols": [0.0, 0.666, 1.0],
"rows": [0.0, 1.0],
"cells": [[0, 0, 1, 1], [1, 0, 2, 1]]
},
"command": "focus_group",
"args": { "group": 0 }
]
(I didn't test this out, so this may not work out of the box.)
Look in `Packages/Default` for keymaps that utilize macros as well as the macros themselves.
Hope this helps,
Alex