2003/12/01

VI Tricks

How to pipe the internal VI buffer thru an external program and back.

%! command

example:

:%! sort
or
:%! awk '{print $1}'

Sweet. Remember this kiddies, it's hella useful.



<< Home

This page is powered by Blogger. Isn't yours?