BOOMsicle (as my daughter would say) +100 !
--
--
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
---
You received this message because you are subscribed to
On 2015-09-18 19:58, BPJ wrote:
> >:g/^beginfoo/+,/^endfoo/-!somefilter
>
> It has worked fine for me since Tim showed it to me,
> but I'm afraid that I need to take it to the next level:
> Is there a way to have the output of the external program be
> appended below the /^endfoo/- line rathe
Den 2015-06-03 kl. 16:06, skrev Tim Chase:
On 2015-06-03 16:03, BPJ wrote:
You can define a range with regular expression(s) like:
:/^beginfoo/+1,/^endfoo/-1!somefilter
However if there are multiple ranges which would match only the
next one is filtered.
Can you make Vim apply the comma
On 2015-06-10 15:08, Charles Campbell wrote:
>> :g/^beginfoo/+,/^endfoo/-!somefilter
>>
>> (I'm using the shorthand of "+" == "+1" and "-" == "-1")
>>
>> I love this esoteric/underused corner of Vim and it's saved me
>> countless hours of work since I learned about it.
>
> I keep forgetting tha
Tim Chase wrote:
> On 2015-06-03 16:03, BPJ wrote:
>> You can define a range with regular expression(s) like:
>>
>> :/^beginfoo/+1,/^endfoo/-1!somefilter
>>
>> However if there are multiple ranges which would match only the
>> next one is filtered.
>>
>> Can you make Vim apply the command to
On 2015-06-03 16:03, BPJ wrote:
> You can define a range with regular expression(s) like:
>
> :/^beginfoo/+1,/^endfoo/-1!somefilter
>
> However if there are multiple ranges which would match only the
> next one is filtered.
>
> Can you make Vim apply the command to all matching ranges
> t
You can define a range with regular expression(s) like:
:/^beginfoo/+1,/^endfoo/-1!somefilter
However if there are multiple ranges which would match only the
next one is filtered.
Can you make Vim apply the command to all matching ranges
throughout the buffer in one go? I'm sure there i