Emacs: Move Cursor by camelCase, snake_case
subword-mode. It change all cursor movement/edit commands to stop in-between the “camelCase” words.
superword-mode (emacs 24.4) is similar. It treats text like “x_y” as one word. Useful for “snake_case”.
superword-mode are mutally exclusive. Turning one on turns off the other.
To turn them on permanently, put in emacs init file:
;; move cursor by camelCase (subword-mode 1) ; 1 for on, 0 for off
Subword mode is new in Emacs 23.2. [see Emacs 23.2 Features (released 2010-05)]
If you have a question, put $5 at patreon and message me.