vim

http://www.vimninjas.com/


Sort on a virtual column


:sort /.*\%10v/

Get filetype


:set filetype?

Delete all lines containing a pattern


:g/profile/d
:g/^\s*$/d

Show line numbers

:set number


Backlinks: console fun