Sublime text word_separator CamelCase
sublimetext, sublimetext2, sublimetext3
Solution
In the event anyone is still looking at this...
In your default keybindings you'll find:
{ "keys": ["ctrl+left"], "command": "move", "args": {"by": "words", "forward": false} },
{ "keys": ["ctrl+right"], "command": "move", "args": {"by": "word_ends", "forward": true} },
{ "keys": ["ctrl+shift+left"], "command": "move", "args": {"by": "words", "forward": false, "extend": true} },
{ "keys": ["ctrl+shift+right"], "command": "move", "args": {"by": "word_ends", "forward": true, "extend": true} },
{ "keys": ["alt+left"], "command": "move", "args": {"by": "subwords", "forward": false} },
{ "keys": ["alt+right"], "command": "move", "args": {"by": "subword_ends", "forward": true} },
{ "keys": ["alt+shift+left"], "command": "move", "args": {"by": "subwords", "forward": false, "extend": true} },
{ "keys": ["alt+shift+right"], "command": "move", "args": {"by": "subword_ends", "forward": true, "extend": true} },
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.
Problem
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).