Skip to content

Instantly share code, notes, and snippets.

@resting
Last active October 9, 2015 02:08
Show Gist options
  • Save resting/3422720 to your computer and use it in GitHub Desktop.
Save resting/3422720 to your computer and use it in GitHub Desktop.
Sublime Key Binding
[
{
"keys" : ["alt+shift+w"],
"command" : "insert_snippet",
"args": {
"contents": "<${1:p}>${0:$SELECTION}</${1}>"
}
},
{ "keys": ["j", "j"], "command": "exit_insert_mode",
"context":
[
{ "key": "setting.command_mode", "operand": false },
{ "key": "setting.is_widget", "operand": false }
]
},
{ "keys": ["super+enter"], "command": "toggle_full_screen" },
{ "keys": ["super+shift+r"], "command": "reveal_in_side_bar"},
{"keys": ["super+k", "super+n"], "command": "toggle_setting", "args": {"setting": "line_numbers"} },
{ "keys": ["ctrl+shift+t"], "command": "delete_trailing_spaces" },
{ "keys": ["f2"], "command": "next_bookmark" }, //due to sidebarenhancement
{ "keys": ["super+;"], "command": "run_macro_file", "args": {"file": "Packages/myMacros/endLineWithSemiColon.sublime-macro"}},
{ "keys": ["super+shift+;"], "command": "run_macro_file", "args": {"file": "Packages/myMacros/semiColonNewLine.sublime-macro"}},
{ "keys": ["super+'"], "command": "run_macro_file", "args": {"file":
"Packages/myMacros/arrayNextValueInline.sublime-macro"}},
{ "keys": ["super+shift+'"], "command": "run_macro_file", "args": {"file": "Packages/myMacros/arrayNextValue.sublime-macro"}},
{ "keys": ["alt+super+enter"], "command": "run_macro_file", "args": {"file": "Packages/myMacros/newLine.sublime-macro"}},
{ "keys": ["super+k", "super+m"], "command": "toggle_minimap"},
{ "keys": ["ctrl+t"], "command": "side_bar_new_file2" },
{ "keys": ["ctrl++"], "command": "increase_font_size" },
{ "keys": ["ctrl+="], "command": "increase_font_size" },
{ "keys": ["ctrl+-"], "command": "decrease_font_size" },
{ "keys": ["ctrl+alt+f"], "command": "side_bar_find_files_path_containing" }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment