Custom `word_separators` setting is not counted in moving inside a “word”

kizu 8 years ago updated by Denis Sokolov 8 years ago 1

Right now you can change the `word_separators`, for example exclude the hyphen symbol (`-`) from it, and if you do this, moving inside a “words” while holding `ctrl` would skip the hyphen.

The expected behavior is to count it (like in TextMate), so in a word “someWord-with_something” the ctrl-stops would be “some|Word|-with|_something”, but right now it's “some|Word-with|_something”.

If you exclude the hyphen from word separators, does not it mean that the hyphen does not separate words anymore and, thus, should be skipped by navigating with Ctrl?
Do you mean the opposite?