Enable both relative and absolute line numbers

This commit is contained in:
Danielle McLean 2023-12-05 21:57:05 +11:00
parent cdb134435f
commit a83360b1db
Signed by: 00dani
GPG key ID: 52C059C3B22A753E

View file

@ -60,7 +60,11 @@ if has('linebreak')
set linebreak showbreak= set linebreak showbreak=
endif endif
set relativenumber # Setting both number and relativenumber gets you a "hybrid" setup where the
# current line's absolute number is displayed, but the other lines have
# relative numbmers displayed. It's more useful than always seeing a 0 for the
# current line.
set number relativenumber
set showcmd set showcmd
set title set title