Section: Substitution patterns

Clear search highlight

vim
vim
:nohlsearch
Explanation

Keeps the screen clean after repeated searching.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Substitution patterns
Substitute on current line
Replace matches only on the current line.
OpenIn sheetvimsame section
Substitute in entire file
Perform a global replacement across the buffer.
OpenIn sheetvimsame section
Substitute inside visual selection
Restrict replacement to a selected range.
OpenIn sheetvimsame section
Search forward
Find the next match after the cursor.
OpenIn sheetvim2 tag match
Search backward
Search upward through the file.
OpenIn sheetvim2 tag match
Jump among matches
Repeat the last search in either direction.
OpenIn sheetvim2 tag match