When search something, always typing \v
is quite boring.
How to write .vimrc to make it the default regular expression mode?
I don't think there is a dedicated setting (like :set magic
) but I have this line in my ~/.vimrc
:
nnoremap / /\v
that make every forward search "very magic".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With