View Single Post
  #1  
Old 06-08-2009, 03:17 PM
gaeorn
Developer
 
Join Date: Apr 2009
Location: USA
Posts: 478
Default

I'm not sure this is the right place to ask for vi support.

In any case, "i" is the vi insert command which inserts before the character under the cursor. The command you are looking for is "a" which is append and will insert after the character under the cursor.

The only case where "i" should not insert before the last character on a line is if the line was empty to begin with.
Reply With Quote