Home Download Buy Blog Forum Support

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

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

Postby littlewing1208 on Wed Sep 04, 2013 4:45 pm

I have the following in my User key bindings:

Code: Select all
{ "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 }
    ]
}


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?
littlewing1208
 
Posts: 2
Joined: Wed Sep 04, 2013 4:43 pm

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

Postby littlewing1208 on Tue Sep 17, 2013 2:19 pm

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.
littlewing1208
 
Posts: 2
Joined: Wed Sep 04, 2013 4:43 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 16 guests