How To Turn Off Auto-Comment In Vim
erics, Posted September 29th, 2011 at 1:31:11pm
Put the following line in your .vimrc
file:
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
Or, use this one-off command when in VIM:
:set formatoptions-=c formatoptions-=r formatoptions-=o
http://vim.wikia.com/wiki/Disable_automatic_comment_insertion
Leave Your Comment
All fields marked with "*" are required.