Skip to content

Instantly share code, notes, and snippets.

@dspaudio
Last active December 13, 2015 21:19
Show Gist options
  • Save dspaudio/4976618 to your computer and use it in GitHub Desktop.
Save dspaudio/4976618 to your computer and use it in GitHub Desktop.
My Sublime Text 2 Key Maps
[
{ "keys": ["super+shift+v"], "command": "paste" },
{ "keys": ["super+v"], "command": "paste_and_indent" },
{ "keys": ["ctrl+backspace"], "command": "delete_word", "args": { "forward": false, "sub_words": true } },
{ "keys": ["ctrl+alt+backspace"], "command": "delete_word", "args": { "forward": true, "sub_words": true } },
{ "keys": ["super+ctrl+r"], "command": "reindent", "args": {"single_line": false} },
{ "keys": ["super+ctrl+left"], "command": "move", "args": {"by": "subwords", "forward": false} },
{ "keys": ["super+ctrl+right"], "command": "move", "args": {"by": "subword_ends", "forward": true} },
{ "keys": ["super+'"], "command": "expand_selection", "args": {"to": "scope"} },
{ "keys": ["super+j"], "command": "join_lines" },
{ "keys": ["super+shift+up"], "command": "select_lines", "args": {"forward": false} },
{ "keys": ["super+shift+down"], "command": "select_lines", "args": {"forward": true} },
{ "keys": ["super+ctrl+g"], "command": "open_browser", "args" : {"url" : "http://www.google.co.kr/"}},
{ "keys": ["super+shift+k"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} },
{ "keys": ["alt+left"], "command": "move", "args": {"by": "subwords", "forward": false} },
{ "keys": ["alt+right"], "command": "move", "args": {"by": "subword_ends", "forward": true} },
{ "keys": ["alt+shift+left"], "command": "move", "args": {"by": "subwords", "forward": false, "extend": true} },
{ "keys": ["alt+shift+right"], "command": "move", "args": {"by": "subword_ends", "forward": true, "extend": true} },
{
"keys": ["super+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": ["super+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": ["super+alt+["], "command": "move_to_group", "args": { "group": 0 } },
{ "keys": ["super+alt+]"], "command": "move_to_group", "args": { "group": 1 } },
{ "keys": ["super+shift+["], "command": "fold" },
{ "keys": ["super+shift+]"], "command": "unfold" }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment