4var instead of $var typo fix

I use VIM editor in my work. Very often I type occasionally 4 instead of $.
I fixed this problem with:

nnoremap ,, m`F4r$``
inoremap ,, <Esc>m`F4r$``a

Of course you can map it to any key combination that you like. Note that this works when you type text at the same line.

Leave a Reply

Your email address will not be published. Required fields are marked *


*