Or you can simply yank the selected text with y and go to search mode /, then you can paste the last yanked text with Ctrl+R 0
- select text,
v and move
- yank,
y
- goto search mode,
/
- paste the last yanked text,
Ctrl + R, 0
- Enter
Or you can simply yank the selected text with y and go to search mode /, then you can paste the last yanked text with Ctrl+R 0
v and move
y
/
Ctrl + R, 0