The title question is straightforward; I’m looking for an option similar to magic so that the Vim regexes are sufficiently Perly. I’m tired of having to type \v any time I need to do some capturing.
The title question is straightforward; I’m looking for an option similar to magic so
Share
No, and enabling such option, if it will be added, will cause almost all plugins to break. Of course, you could use mappings and commands, for example here is my
:Scommand:. Usage is similar to
:s, but it enables\v. You could also add a mappingand define a set of custom functions, like the following: