Wikia

Vim Tips Wiki

Changes: Moving to the next word in insert mode

Edit

Back to page

(Remove html character entities)
(Change <tt> to <code>, perhaps also minor tweak.)
 
Line 4: Line 4:
 
|previous=614
 
|previous=614
 
|next=616
 
|next=616
|created=December 10, 2003
+
|created=2003
 
|complexity=basic
 
|complexity=basic
 
|author=kallumama
 
|author=kallumama
Line 14: Line 14:
 
You can move to the next word in insert mode using <shift> <right arrow key>
 
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 <tt>w</tt>
+
You can move to the next word in normal mode using <code>w</code>
   
 
You can move to the previous word in insert mode using <shift> <left arrow key>
 
You can move to the previous word in insert mode using <shift> <left arrow key>

Latest revision as of 05:39, July 13, 2012

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>


Around Wikia's network

Random Wiki