Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rafaelmotta/4236749 to your computer and use it in GitHub Desktop.
Save rafaelmotta/4236749 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"}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment