heavim/cfg/05-line-numbers.vim
Emmanuel BENOîT b0647949f8 Style and shortcut tweaks. Added vim-which-key.
* Shortcut changes to make the Leader-based shortcuts easier to use
 * Install vim-which-key
 * Style fixes and changes
 * Reorganised some of the settings
2020-12-07 16:36:17 +01:00

7 lines
286 B
VimL

" 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>