Manipulate signs
Example
Normal 0 / 2Command-line 1 / 2Normal 2 / 2Manipulate signs.
Signs
- Defined sign
Mark: text=>> texthl=Search- Placements
none
Command entered · ready to apply
Signs
- Defined sign
Mark: text=>> texthl=Search- Placements
none
Places previously defined sign Mark at line 2, identified by 1. It changes the sign column, not the buffer text.
Signs
- Defined sign
Mark: text=>> texthl=Search- Placement 1
notes.txt, line 2, default sign group, text >>
Before & after
Before
Signs
- Defined sign
Mark: text=>> texthl=Search- Placements
none
After
Signs
- Defined sign
Mark: text=>> texthl=Search- Placement 1
notes.txt, line 2, default sign group, text >>
Subject: :sign. Documentation-backed illustration; assumes +signs, named loaded notes.txt and prior :sign define Mark text=>> texthl=Search; not replay-verified. Places previously defined sign Mark at line 2, identified by 1. It changes the sign column, not the buffer text.
red
blueCursor on line 1, column 1Details & Vim help
Manipulate signs. 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 :sig[n] 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.