vimtricks.wiki Concise Vim tricks, one at a time.

How do you highlight search matches in Vim?

Answer

set hlsearch

Explanation

Use set hlsearch to highlight all matches of the last search pattern. Clear highlights with :nohlsearch (or :noh for short).

Next

How do I visually select a double-quoted string including the quotes themselves?