Sublime Forum

Skip over brackets on tab doesn't work on ST2/Mac OSX

#1

I have the following in my User key bindings:

[code]{ “keys”: “tab”], “command”: “move”, “args”: {“by”: “characters”, “forward”: true}, “context”:

    { "key": "selection_empty", "operator": "equal", "operand": true },
    { "key": "preceding_text", "operator": "not_regex_match", "operand": ":space:]]*", "match_all": true },
    { "key": "following_text", "operator": "regex_contains", "operand": "^\"'\\)\\}\\]\\_]", "match_all": true },
    { "key": "auto_complete_visible", "operator": "equal", "operand": false },
    { "key": "has_next_field", "operator": "equal", "operand": false } 
] 

}[/code]

I’ve restarted ST2 and it still just inserts a tab in the editor when I hit the tab key after inserting brackets or parens etc. Any ideas?

0 Likes

#2

Anyone have any ideas? It seems that a lot of people want this feature and the above config allowed it to work, but not for me.

0 Likes