Suspend 'hlsearch' highlighting
Example
Normal 0 / 2Command-line 1 / 2Normal 2 / 2one two
three four
five six
keepCursor on line 1, column 1one two
three four
five six
keepCursor on line 1, column 1one two
three four
five six
keepCursor on line 1, column 1Suspend 'hlsearch' highlighting.
Highlight and syntax
- ExampleWord terminal color
'2'- Syntax at line 1, column 1
Search state
- Last search pattern
one- Search highlighting
visible
Command entered · ready to apply
Highlight and syntax
- ExampleWord terminal color
'2'- Syntax at line 1, column 1
Search state
- Last search pattern
one- Search highlighting
visible
Suspend 'hlsearch' highlighting
Highlight and syntax
- ExampleWord terminal color
'2'- Syntax at line 1, column 1
Search state
- Last search pattern
one- Search highlighting
suppressed
Before & after
one two
three four
five six
keepCursor on line 1, column 1Highlight and syntax
- ExampleWord terminal color
'2'- Syntax at line 1, column 1
Search state
- Last search pattern
one- Search highlighting
visible
one two
three four
five six
keepCursor on line 1, column 1Highlight and syntax
- ExampleWord terminal color
'2'- Syntax at line 1, column 1
Search state
- Last search pattern
one- Search highlighting
suppressed
Start in Normal mode. The state panel reports actual highlight definitions, match patterns and search-highlight state; colors are not inferred from the command name.
Details & Vim help
Example replayed in Vim
Suspend 'hlsearch' highlighting. This Ex reference uses the full command name; the alphabetical index omits arguments. Supply the ranges, arguments, flags and prerequisite state documented in the linked help. Press Enter to submit a complete command. The index spelling :noh[lsearch] puts the optional abbreviation suffix in square brackets; those brackets are not typed. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.