mzfkia
Last Updated: February 25, 2016
·
4.885K
· murphyrandle
621103 10151814410385600 1552271139 o

Skip over auto-completed parenthesis in Sublime Text 2

Found this gem here:
http://www.quora.com/Sublime-Text/How-do-I-skip-the-cursor-past-the-end-of-autofilled-parens-and-braces-in-Sublime-Text-2

It has driven me crazy that there's no key combination in ST2 to jump to the outside of a () that has been auto-matched.
If you feel frustration when you see those characters, you may have had the same problem as I :).

Add this to your user keymap in Sublime Text:

{ "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 }
]   
}

And you will rest more easily.

Say Thanks
Respond
Awesome Job

20838750 ca12 11e7 8395 3d07316c018d
Overijssel,Amsterdam, Arnhem
·
Overijssel, Amsterdam, Arnhem
·
Full Time