In my .vimrc
file, I have a key binding for commenting out that inserts double slashes (//
) at the start of a line:
" the mappi
This is only a partial answer for people coming here having difficulties getting any ftplugin scripts working, but remember that your .vimrc (or a file that it sources) should contain
filetype plugin on
or
:filetype plugin on
for filetype-plugins to be executed when a file of a given type is loaded.