Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


vim_tips

Vi and Vim Tips

Disable automatic comment insertion in vi (vim)

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

Create ~/.vimrc and insert this line:

autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
vim_tips.txt · Last modified: 2016/04/15 20:47 by juckins