Skip to content

Instantly share code, notes, and snippets.

@cosmith
Created November 25, 2012 12:17
Show Gist options
  • Save cosmith/4143291 to your computer and use it in GitHub Desktop.
Save cosmith/4143291 to your computer and use it in GitHub Desktop.
Key bindings sublime
[
{ "keys": ["j", "j"], "command": "exit_insert_mode",
"context":
[
{ "key": "setting.command_mode", "operand": false },
{ "key": "setting.is_widget", "operand": false }
]
},
{ "keys": ["ctrl+alt+a"], "command": "alignment" },
{ "keys": ["ctrl+v"], "command": "paste_and_indent" },
{ "keys": ["ctrl+shift+r"], "command": "reindent" , "args": {"single_line": false} },
{ "keys": ["ctrl+shift+v"], "command": "paste" },
{
"keys": ["shift+alt+left"],
"command": "set_layout",
"args":
{
"cols": [0.0, 0.33, 1.0],
"rows": [0.0, 1.0],
"cells": [[0, 0, 1, 1], [1, 0, 2, 1]]
}
},
{
"keys": ["shift+alt+right"],
"command": "set_layout",
"args":
{
"cols": [0.0, 0.66, 1.0],
"rows": [0.0, 1.0],
"cells": [[0, 0, 1, 1], [1, 0, 2, 1]]
}
},
{
"keys": ["shift+alt+up"],
"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]]
}
},
{
"keys": ["shift+alt+down"],
"command": "set_layout",
"args":
{
"cols": [0.0, 1.0],
"rows": [0.0, 1.0],
"cells": [[0, 0, 1, 1], [1, 0, 2, 1]]
}
},
{ "keys": ["ctrl+shift+left"], "command": "move_to_group", "args": { "group": 0 } },
{ "keys": ["ctrl+shift+right"], "command": "move_to_group", "args": { "group": 1 } }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment