martin kraegeloh wrote:
all,
rtfm didn't help ... I'd like to *always* make my regexes behave like
perl, but I find no way to set it as a default. will I have to always
use \v ??
I tend to think that if I can't get vim to do something it's because I
don't know why, not because it is not possible ... so how do I do this?
cheers, martin
Only thing I can see is
:map / /\\v
:map ? ?\\v
but that wouldn't solve the case of ex-commands (:s, :helpgrep,
:vimgrep, etc.) which accept a pattern.
Or else (but I don't recommend it) find where patterns are handled in
the C code and hack the source.
Best regards,
Tony.