> > And what about this pattern:
> > /\%Vfooba\%Vr
> 
> That's fine (but hard to read) for literal text, but difficult when you
> have a regular expression with multiple branches. Thinking of custom
> commands that take a pattern, it's close to impossible to parse the
> regular expression to insert the \%V before the match of the last character.
> 
> > Thanks I did not know this pattern and it is very handy.  I always felt
> > that the search commands /, ? should have a range, so that one can limit
> > the search to part of a text.  What about having two commands :<range>/
> > and :<range>? for searches limited to the <range> of lines.
> 
> You can use the range-search plugin
> (http://www.vim.org/scripts/script.php?script_id=1396) for that.
> 
> -- regards, ingo
> 

Thanks,
Marcin

-- 
-- 
You received this message from the "vim_dev" 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 the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui