I use this plugin (incsearch.vim) which changes the search function in vim by highlighting the text dynamically while typing the regex after
For the plugin to work I had to add these lines in my
map / <Plug>(incsearch-forward) map ? <Plug>(incsearch-backward)
I suppose the result is that whenever I hit
?, some functions (
insearch-backward()) provided by the plugin are called to take care of the search.
I would like to modify those mappings, so that the plugin's functions are still called but the search begins automatically with
\v, the very magic mode is enabled and I don't have to escape
Without calling the plugin's functions it would give something like this :
map / /\v map ? ?\v
But I don't know how to call the plugin at the same time.