heavim/cfg/05-line-numbers.vim

8 lines
286 B
VimL
Raw Normal View History

" Line number display and related controls
highlight LineNr ctermbg=232 ctermfg=58 cterm=NONE
highlight CursorLineNr ctermbg=232 ctermfg=130 cterm=bold
set number relativenumber
nnoremap <silent> <Leader>on :set number!<CR>
nnoremap <silent> <Leader>oN :set relativenumber!<CR>