The sublime text word_separator
is:
"word_separators": "./\\()\"'-:,.;<>~!@#$%^&*|+=[]{}`~?",
I would also like case change in CamelCase to be considered change. Is there a setting/way to do this?
(Eg in FooBar ctrl+bck_space should delete only Bar).
Using alt works only for moving, not for delete, but I found something that works pretty well:
Source
I think this can only be done via a plugin, not simply by changing Sublime Text's settings.
This plugin looks promising:
https://github.com/jdc0589/CaseConversion
In the event anyone is still looking at this...
In your default keybindings you'll find:
Using alt+direction will move by "subwords" as opposed to "words", which takes into account camelCase. I prefer that over the default so I've copied the alt+direction set into my user keybindings and replaced the instances of alt with ctrl. Voila, ctrl+direction moves by camelCase as well as the defined word separators.
Also, I'm not sure if using the subwords setting will take into account underscores, I've always added _ to the word separators just to make sure.
Alt + W
in vim mode works for me in sublime text 3 to traverse camelCase words