relativenumber
Relativenumber is a display option for Vim and Neovim. When enabled, line numbers on the left edge are shown relative to the current cursor line. The line with the cursor shows its true number, while the other lines show the number of lines away from the cursor.
To see both absolute and relative numbers on all lines, users typically enable both number and relativenumber.
Usage tips: Relative numbers are handy for commands that rely on a line count, such as moving
Compatibility: The option exists in Vim and Neovim and is widely supported across modern terminals. It is