Enable both relative and absolute line numbers
This commit is contained in:
parent
cdb134435f
commit
a83360b1db
1 changed files with 5 additions and 1 deletions
|
@ -60,7 +60,11 @@ if has('linebreak')
|
|||
set linebreak showbreak=↩
|
||||
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 title
|
||||
|
||||
|
|
Loading…
Reference in a new issue