Vim: Search for What You Select
Way 1:
yank the selected text with y go to search mode / paste the last yanked text with Ctrl+R 0 Way 2:
yank the selected text with y go to search mode with command-line window q/ paste p (and you can continue editing) Source: Search for selection in Vim - Stack Overflow