Forked from xiaolai/gist:447d8961954dfd28047a797e4f82addd
Created
March 17, 2020 22:55
-
-
Save zdway10/bd4a1c844bcdcdfd98d9cd2ecbafe062 to your computer and use it in GitHub Desktop.
SublimeText: Tab to move cursor out of parentheses, quotes, brackets
This file contains hidden or 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
// 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+v"], "command": "paste_and_indent" }, | |
{ "keys": ["super+shift+v"], "command": "paste" } | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment