Inspired by a trackback from here:
noremap ; :s/\([^;]\)$/\1;/< cr >
This will add a ; to the end of the current line, when there is none. This hack will definitly be part of my .vimrc 1.2.
↧