How do I highlight all occurrences of a yanked word without typing a search pattern?
:let @/ = @"
After yanking text, you can promote it directly to the search register with :let @/ = @".
:let @/ = @"
After yanking text, you can promote it directly to the search register with :let @/ = @".
:nohlsearch
After a search in Vim, matched text is highlighted as long as hlsearch is enabled.