Last Updated: February 25, 2016
·
5.391K
· murphyrandle

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.