Search for selected text

David Nebauer davidnebauer3 at bigpond.com
Tue Oct 14 15:30:18 CEST 2014


There are a couple of handy shortcuts in vim that allow you to highlight 
text and then hit '/' or '?' to search forwards or backwards for the 
next occurrence of the selected text. The mappings are:

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

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

Is there any way to replicate this functionality in evil?



More information about the implementations-list mailing list