Tuesday, September 6, 2011

Re: How can I select multiple lines that are not in a continuous chunk?

On 09/06/11 14:57, Kay Z wrote:
>> 1) use a decorate-tabularize-undecorate pattern, something like
>>
>> :'<,'>v/^\</-j!
>> :'<,'>Tabularize
>> :'<,'>s/,/,\r /g
>
> Thanks Tim! This regex works well, and I got the results I wanted.
>
> One note is that for those who use Tabularize you just have to change
>> '<,'>Tabularize
> to
>> '<,'>Tabularize /=
>
> in order to align by "=".

Glad it works...the Tabularize ones were pure
shooting-from-the-hip. :)

-tim


--
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: