Fandom

Vim Tips Wiki

Moving to the next word in insert mode

Redirected from VimTip615

1,624pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Tip 615 Printable Monobook Previous Next

created 2003 · complexity basic · author kallumama · version 5.7


You can move to the next word in insert mode using <shift> <right arrow key>

You can move to the next word in normal mode using w

You can move to the previous word in insert mode using <shift> <left arrow key>

CommentsEdit

This is true when not using :behave mswin. <C-Left> and <C-Right> will work in either case.


Not quite. <C-Right> differs depending on whether you are in insert mode or not.

normal mode: <c-right> moves by WORDS (like ":normal W") :help <C-Right>

insert mode: <c-right> moves by words (like ":normal w") :help i_<C-Right>


Also on Fandom

Random Wiki