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

2011-09-06 Thread Kay Z
On 2011-09-05, at 2:59 PM, Tim Chase wrote: 1) use a decorate-tabularize-undecorate pattern, something like :','v/^\/-j! :','Tabularize :','s/,/,\r/g where the first one pulls everything onto its own line, the second one does the tabularization, and the third one puts

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

2011-09-06 Thread Tim Chase
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

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

2011-09-06 Thread Kay Z
On 2011-09-05, at 3:38 PM, Charles E Campbell Jr wrote: The Align plugin allows you to set up patterns that will cause lines to be skipped during alignment. :AlignCtrl v ^\s :Align = You may get Align from http://drchip.0sites.net/astronaut/vim/index.html#ALIGN Thanks DrChip for

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

2011-09-06 Thread Kay Z
On 2011-09-06, at 4:00 PM, Tim Chase wrote: Glad it works...the Tabularize ones were pure shooting-from-the-hip. :) -tim The thing is Tabularize doesn't have a filter, so having to come up with the correct regex every time is often beyond my regex ability in the time given(need much more

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

2011-09-06 Thread Charles Campbell
Kay Z wrote: On 2011-09-05, at 3:38 PM, Charles E Campbell Jr wrote: The Align plugin allows you to set up patterns that will cause lines to be skipped during alignment. :AlignCtrl v ^\s :Align = You may get Align from http://drchip.0sites.net/astronaut/vim/index.html#ALIGN

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

2011-09-05 Thread Tim Chase
On 09/05/11 00:53, Kay Z wrote: I was trying to align using Tabularize plugin: 1. name1=Woof 2. lucky_dog = lucky( dog_one= name1, 3.dog_two= name1 ) 4. name2=Howl I wanted it to align like this: 1. name1 = Woof 2. lucky_dog = lucky( dog_one= name1, 3.

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

2011-09-05 Thread Charles E Campbell Jr
Kay Z wrote: Thanks for the reply. Now I know it isn't possible to do so. I was trying to align using Tabularize plugin: 1. name1=Woof 2. lucky_dog = lucky( dog_one= name1, 3.dog_two= name1 ) 4. name2=Howl I wanted it to align like this: 1. name1 = Woof 2. lucky_dog

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

2011-09-04 Thread Kay Z
Thanks for the reply. Now I know it isn't possible to do so. I was trying to align using Tabularize plugin: 1. name1=Woof 2. lucky_dog = lucky( dog_one= name1, 3.dog_two= name1 ) 4. name2=Howl I wanted it to align like this: 1. name1 = Woof 2. lucky_dog = lucky(

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

2011-09-03 Thread K Z
Hello, I am trying to select multiple lines that are not in a continuous chunk. E.g., I want to select line 1 and 3 simultaneously without selecting line 2: this is line 1 this is line 2 this is line 3 Initially I thought this would be a trivia task, but after spending quite some time googling

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

2011-09-03 Thread Ben Fritz
On Sep 3, 5:33 pm, K Z no.deep@gmail.com wrote: Hello, I am trying to select multiple lines that are not in a continuous chunk. E.g., I want to select line 1 and 3 simultaneously without selecting line 2: this is line 1 this is line 2 this is line 3 Not possible. However, depending