This is great, thank you.
A couple of extra pieces of info for anyone, like me, who is totally new to Vim:
1) This text:
inoremap <C-e> <C-o>$
- should be typed exactly as it is shown, but it is not typed while you are in Vim. It should be placed as a separate line in ~/.vimrc.
2) "C-a" means Ctrl+a, ie hold the Ctrl key down and type a.
This is great, thank you.
A couple of extra pieces of info for anyone, like me, who is totally new to Vim:
1) This text:
inoremap <C-e> <C-o>$
- should be typed exactly as it is shown, but it is not typed while you are in Vim. It should be placed as a separate line in ~/.vimrc.
2) "C-a" means Ctrl+a, ie hold the Ctrl key down and type a.