Re: Execute command on multiple ranges found by regex

2015-09-18 Thread BPJ
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

Re: Execute command on multiple ranges found by regex

2015-09-18 Thread David Fishburn
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

Re: Execute command on multiple ranges found by regex

2015-09-18 Thread Tim Chase
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

Re: Why does synID() always return zero when inserting at the end of a line?

2015-09-18 Thread Ben Fritz
On Thursday, September 17, 2015 at 9:45:27 PM UTC-5, Tony Mechelynck wrote: > On Thu, Sep 17, 2015 at 11:58 PM, > > Hmm, ":help synstack()" says that > > The position just after the last > character in a line and the first column in an empty line are > valid positions. >