Showing posts with label filter. Show all posts
Showing posts with label filter. Show all posts
Tuesday, November 20, 2007
Filtering
Sometimes it's helpful to filter your current editing session through an external command. Vim makes this easy to accomplish with the following ex command, :%!command. To filter a file containing strictly numbers through the Unix sort command using numerical comparison, you would :%!sort -u
Subscribe to:
Posts (Atom)