Friday, May 25, 2012

Re: Substitution of metacharacters

On 05/25/12 14:17, Chris Jones wrote:
>> Yes...kind of. The code for the GUI automatically inserts \V in
>> the search pattern, which is a flag for "very nomagic", which
>> is not even settable via an option. The \V flag will override
>> any 'magic' option setting.
>
> So it appears to be..
>
> Maybe the doc should mention that 'very nomagic' that is the
> default option when you do a search via the GUI dialog. I'd
> always wondered what that particular option was meant for.

The docs for :promptrepl should also include that the replacement is
a literal, not making use of any metachars such as "&" or "\".

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

Post a Comment