How to use “usual” regexps in vim’s search /? I mean something like [0-9]+\d+\S*, and not the vim syntax? I find vim’s syntax annoying and constantly have to check how to express something in it.
How to use usual regexps in vim’s search / ? I mean something like
Share
The problem you encounter most possibly is because of magic. See
:help /magicinside of ViM. What you can do is add\vas the first member of your pattern. Example:Explanation from the manual:
You can also set the
magicoption (see:help magic).