Created
September 15, 2014 16:43
-
-
Save pirate/24a44f568129b8a6b359 to your computer and use it in GitHub Desktop.
My Sublime 3 Keybindings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
[ | |
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" }, | |
{ "keys": ["ctrl+tab"], "command": "next_view" }, | |
{ "keys": ["ctrl+super+up"], "command": "swap_line_up" }, | |
{ "keys": ["ctrl+super+down"], "command": "swap_line_down" }, | |
{ "keys": ["ctrl+super+t"], "command": "transpose" }, | |
{ "keys": ["alt+left"], "command": "move", "args": {"by": "subwords", "forward": false} }, // move & select by word | |
{ "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": ["alt+delete"], "command": "run_macro_file", "args": {"file": "Packages/User/deletesubwordforward.sublime-macro"} }, | |
{ "keys": ["alt+backspace"], "command": "run_macro_file", "args": {"file": "Packages/User/deletesubword.sublime-macro"} }, | |
{ "keys": ["ctrl+left"], "command": "move_to", "args": {"to": "bol", "extend": false} }, // move & select by line | |
{ "keys": ["ctrl+right"], "command": "move_to", "args": {"to": "eol", "extend": false} }, | |
{ "keys": ["ctrl+shift+left"], "command": "move_to", "args": {"to": "bol", "extend": true} }, | |
{ "keys": ["ctrl+shift+right"], "command": "move_to", "args": {"to": "eol", "extend": true} }, | |
{ "keys": ["ctrl+backspace"], "command": "run_macro_file", "args": {"file": "Packages/User/deletelineforward.sublime-macro"}}, | |
{ "keys": ["ctrl+delete"], "command": "run_macro_file", "args": {"file": "Packages/User/deleteline.sublime-macro"}}, | |
{ "keys": ["ctrl+up"], "command": "run_macro_file", "args": {"file": "Packages/User/up3lines.sublime-macro"}}, // jump 3 lines at a time | |
{ "keys": ["ctrl+down"], "command": "run_macro_file", "args": {"file": "Packages/User/down3lines.sublime-macro"}}, | |
{ "keys": ["ctrl+shift+up"], "command": "run_macro_file", "args": {"file": "Packages/User/up3linesextend.sublime-macro"}}, | |
{ "keys": ["ctrl+shift+down"], "command": "run_macro_file", "args": {"file": "Packages/User/down3linesextend.sublime-macro"}}, | |
{ "keys": ["ctrl+alt+up"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": false} }, // jump and select by whitespace block | |
{ "keys": ["ctrl+alt+down"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": true} }, | |
{ "keys": ["ctrl+alt+shift+up"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": false, "extend": true}}, | |
{ "keys": ["ctrl+alt+shift+down"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": true, "extend": true}}, | |
{ "keys": ["super+shift+up"], "command": "expand_selection", "args": {"to": "indentation"} }, // expand selection to indentation level | |
{ "keys": ["super+shift+down"], "command": "expand_selection", "args": {"to": "line"} }, // expand selection to line | |
{ "keys": ["super+."], "command": "close_tag" }, | |
{ "keys": ["ctrl+k"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} }, // vim-style delete line | |
{ "keys": ["ctrl+shift+k"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete to Hard EOL.sublime-macro"} }, // delete cursor through EOL | |
{ "keys": ["super+delete"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete to Hard EOL.sublime-macro"} }, | |
{ "keys": ["super+k", "super+k"], "command": "new_pane" }, // split screen | |
{ "keys": ["super+k", "super+u"], "command": "close_pane" }, // close pane | |
{ "keys": ["super+g"], "command": "goto_definition" }, // goto definition | |
{ "keys": ["super+r"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} }, // goto symbol | |
{ "keys": ["super+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} }, // goto line | |
{ "keys": ["super+i"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} }, // goto file | |
{ "keys": ["super+shift+f"], "command": "show_panel", "args": {"panel": "find_in_files"} }, // find in file | |
{ "keys": ["super+shift+i"], "command": "show_panel", "args": {"panel": "find_in_files"} }, // find in file | |
{"keys": ["super+;"], "command": "run_macro_file", "args": {"file": "Packages/User/superEndLineWiSemiColin.sublime-macro"}}, // end line with semicolon | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment