Archive for the ‘VIM’ Category

Disable auto commenting in VIM using the .vimrc file

Tuesday, November 25th, 2008

Combined some tips together to figure this one out.

Put this into your .vimrc file:

au FileType * setl fo=cql

I’m using VIM version 7.1.12

How to Remove All Blank Lines in VIM

Thursday, October 23rd, 2008

Regular expression to remove empty lines:

:%g/^$/d