Is there a shortcut to skip past these? If I type {(" the matching ones for these are inserted - then I type the middle content, but can’t figure out a shortcut to get to the end of the inserted matching brackets.
Thanks,
D.
Is there a shortcut to skip past these? If I type {(" the matching ones for these are inserted - then I type the middle content, but can’t figure out a shortcut to get to the end of the inserted matching brackets.
Thanks,
D.
I personally have this added to my user keybindings. Pressing enter will skip past ), ", and ][code] { “keys”: “enter”], “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 }
]
}[/code]
Thank you C0D312,
this is really useful if you like the bracket autocompletion but don’t like the current way to step out of these brackets
Regards,
Highend
does the wordCommand take other “args” besides “by” and “forward”? I was hoping it would have “count”
Love this key mapping. On my MacBook Pro however, the enter key is chorded, requiring the ‘fn’ key. The key binding isn’t recognizing it. Any ideas?
Why is this working for everyone else and not me?
This is my Default(Windows).sublime-keymap file: (same as the code above, but wrapped in ] and using “tab” instead of “enter”)
[code]
{ “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 }
]
}
][/code]
I restarted it , tried many times, tried using different key combos, none seemed to work. What am I doing wrong?