Fork me on GitHub
#spacemacs
<
2022-03-06
>
Kris C13:03:15

Why is (vi) word motion in Spacemacs different than in normal vi(m)? If a variable is camelCase, w moves by word (camel->Case). How can I disable that?

Kris C08:03:23

Thanks, @U056QFNM5, but how do I do it permanently in configuration?

jeff.terrell13:03:21

I did SPC h d k SPC t c to figure out which emacs function gets called with the SPC t c key sequence. It's spacemacs/toggle-camel-case-motion. If I search similarly-named functions with SPC SPC toggle-camel, it looks like there are some likely options, including a global variant bound to SPC t C-c. Worst case you could add a function call to your dotspacemacs/user-init (in you .spacemacs file).

👍 1