How to disable automatic comment insertion in Vim

How to disable automatic comment insertion in Vim?

Add to ~/.vimrc:

au FileType c,cpp setlocal comments-=:// comments+=f://

More: http://vim.wikia.com/wiki/Disable_automatic_comment_insertion

Answered by anonymous.

Leave a Reply

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