Search selected text

3 Points

Timothée Gauthier Timothée Gauthier

5 years ago

Sometimes I go in visual and would like to search the text, so I mapped to // in visual.

Of course their is a lot of problem if highlighted text contains kind of regex pattern.

vnoremap // y/<C-R>"<CR>