move faster with WORD

Tags: vim

From my previous article Vim move word wise , we found that we can move cursor in Vim by word. However, in some situation, If we have some punctuation in a sentence e.g. ', ", our movement by word stop at those symbols.

With this, we can move faster with WORD operation, it is the complement of move by word.

These are list of WORD commands and descriptions:

W same as w but it count a word as a sequence of non-blank characters separated with whitespace

B same as b but it count a word as a sequence of non-blank characters separated with whitespace

E same as e but it count a word as a sequence of non blank characters separated with whitespace

gE same as ge but it count a word as a sequence of non-blank characters separated with whitespace

Example command

W
W
W
W
B
E
gE

animated GIF result

enter image description here