intellij-ideaideavim

IdeaVim move between words in camel case word


I am new to vim and IdeaVim. Is there a way to move to the next word in camel case word? [c]amelCaseWord -> w -> camel[C]aseWord -> w -> camelCase[W]ord


Solution

  • IdeaVim supports camel case motions out of the box: ]w, [w, ]b, [b It is also possible to remap default motions to the camel case ones in your ideavimrc/vimrc:

     map w [w
     map e ]w
     map b [b