Vim Tips Wiki
We recommend that you log in before editing. This will allow other users to leave you a message about your edit, and will let you track edits via your Watchlist. Creating an account is quick and free.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 6: Line 6:
 
|complexity=basic
 
|complexity=basic
 
|author=Brian Medley
 
|author=Brian Medley
βˆ’
|version=6.0
+
|version=5.7
 
|rating=9/5
 
|rating=9/5
 
|category1=
 
|category1=
Line 12: Line 12:
 
}}
 
}}
 
By default, when pressing left/right cursor keys, Vim will not move to the previous/next line after reaching first/last character in the line. This can be quite annoying for new users. Fortunately this behaviour can be easily changed by putting this in your vimrc file:
 
By default, when pressing left/right cursor keys, Vim will not move to the previous/next line after reaching first/last character in the line. This can be quite annoying for new users. Fortunately this behaviour can be easily changed by putting this in your vimrc file:
  +
 
<pre>
 
<pre>
 
set whichwrap+=<,>,h,l,[,]
 
set whichwrap+=<,>,h,l,[,]
Please note that all contributions to the Vim Tips Wiki are considered to be released under the CC-BY-SA
Cancel Editing help (opens in new window)