Specify highlighting methods
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 1Specify highlighting methods.
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
Specify highlighting methods
Highlight and syntax
- ExampleWord terminal color
'1'- Syntax at line 1, column 1
Search state
- Last search pattern
one- Search highlighting
visible
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
'1'- Syntax at line 1, column 1
Search state
- Last search pattern
one- Search highlighting
visible
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
Specify highlighting methods. 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 :hi[ghlight] 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.