I frequently type camelCase variable names, and enjoy the features subword-mode
offers.
This, this and this reiterate the fact that the community desires vim-like functionality where they can choose whether to go to the end of the current word, or beginning of the next word. One can use
forward-to-word
from themisc
package,viper-forward-word
fromviper
orevil-forward-word-begin
fromevil
to achieve the same thing.
However using these mean that subword-mode
will be overridden. I am guessing that the only way to have both would be to implement a function like subword-forward-to-word
which combines the two functionalities. I lack the knowledge in elisp to do so, so I am asking for your help. How can this be done?