Monday, May 28, 2012

Re: align columns

On 05/28/2012 06:33 AM, sinbad wrote:
> i have a text as follows.
>
> apple banana
> cat dog
> elephant fan
> goat hen
>
> i want to make the above text aligned as follows.
>
> apple banana
> cat dog
> elephant fan
> goat hen
>
> is there any simple technique without doing to manually.

If you don't want to use the plugin, here's a little utility that does
the job:

http://www.cs.indiana.edu/~kinzler/align/

(Sometimes we get so enamored with vim's plugin model that we forget the
old-school Unix way of doing things with pipes and filters.)

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: