Archive

Archive for the ‘VIM’ Category

Disable auto commenting in VIM using the .vimrc file

November 25th, 2008 Masao 1 comment

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

Categories: Linux, VIM Tags:

How to Remove All Blank Lines in VIM

October 23rd, 2008 Masao No comments

Regular expression to remove empty lines:

:%g/^$/d

Categories: Regular Expressions, VIM Tags: