RockPaperScissors

LizardSpock

Vimfu End of Line Character Placement

| Comments

In Vim to insert text before the cursor press ‘i’, to insert text after cursor ‘a’ or to edit at the end of line ‘A’. To paste before the cursor ‘p’ to paste after the cursor ‘P’.

While these variants exist I still find it easier to place the cursor ‘correctly’ and use one variant. However this results in a little trouble with end of lines as I can not move the cursor to paste ‘P’ after the last character.

Adding the following line to my .vimrc has helped me work around this:

" Allow cursor to move 1 character past end of line
set virtualedit=onemore

Comments