Wikia

Vim Tips Wiki

Moving to the next word in insert mode

Talk0
1,610pages on
this wiki
Revision as of 05:39, July 13, 2012 by JohnBot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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>


Advertisement | Your ad here

Around Wikia's network

Random Wiki