jasonnixon.net - quick reference - vi


examples generated with VIM - Vi IMproved 7.0 on Linux


(esc):g/^$/d
remove blank lines from a file

:g/^M/s///
removes ^M character from Unix files -- ^M has to be entered with the key strokes "ctrl-v" then "ctrl-m"




Valid HTML 4.01 Transitional Valid CSS!