Skip to content

Instantly share code, notes, and snippets.

@craigkeeling
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save craigkeeling/49f19e1591ae26a13f5b to your computer and use it in GitHub Desktop.
Save craigkeeling/49f19e1591ae26a13f5b to your computer and use it in GitHub Desktop.
ST key bindings USER
// Original by C0D312
// I added the single quote and curly brace to the regex.
// http://www.sublimetext.com/forum/viewtopic.php?f=3&t=5174
//
// Add the following to your user keybindings:
[
{ "keys": ["tab"], "command": "move", "args": {"by": "characters", "forward": true}, "context":
[
{ "key": "following_text", "operator": "regex_contains", "operand": "^[)}'\"\\]]", "match_all": true },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
]
},
{ "keys": ["ctrl+t"], "command": "side_bar_new_file2" },
{ "keys": ["f2"], "command": "side_bar_rename" },
{ "keys": ["ctrl+alt+f"], "command": "side_bar_find_files_path_containing" },
{ "keys": ["f12"], "command": "reindent" },
{ "keys": ["super+k", "super+t"], "command": "title_case" },
{ "keys": ["super+shift+m"], "command": "marked" },
{ "keys": ["super+ctrl+alt+q"], "command": "straight_quotes"},
{ "keys": ["ctrl+g"], "command": "encode_html_entities" },
{ "keys": ["super+v"], "command": "clipboard_commands_paste_plain_text" }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment