How do I navigate through wrapped lines visually instead of by actual lines?
gj and gk
When wrap is enabled, long lines wrap across multiple screen lines.
gj and gk
When wrap is enabled, long lines wrap across multiple screen lines.
:syntax match Conceal /pattern/ conceal
Vim's conceal feature lets you visually hide text that matches a pattern, or replace it with a single character.
set signcolumn=yes
Use set signcolumn=yes to always display the sign column (used by diagnostics, git markers).
set relativenumber
Use set relativenumber (or set rnu) to show line numbers relative to the cursor position.
set number
Use set number (or set nu) to display absolute line numbers in the left margin.
:set number!
The :set number! command toggles line numbers on or off.