Sublime Forum

Treat consecutive word boundary characters as the same group

#1

Hi,

is it possible to treat consecutive word boundaries characters as one character? Or alternatively, is there a target that seeks an actual word character rather than one step after a boundary?

e.g. to get to the word “command” in the preferences for ctrl-right, from the start of the line, requires 9 consecutive presses of ctrl-right followed by ctrl-left:

{ “keys”: [“ctrl+right”], “command”: “move”, “args”: {“by”: “word_ends”, “forward”: true} },

I would like to change it so that one press takes me to “keys”, another to “ctrl”, then “right” then “command”.

Thanks,

William

0 Likes

Word boundary definition