nvim: highlight cursor line

This commit is contained in:
Charles Gould 2020-06-16 01:55:19 -05:00
parent 5217cbe06b
commit a95dc18419

View File

@ -24,6 +24,9 @@ nnoremap <silent> <F2> :set number! relativenumber!<Return>
" show the effects of a command incrementally, as you type " show the effects of a command incrementally, as you type
set inccommand=nosplit set inccommand=nosplit
" highlight the cursor line, toggle with \c
nnoremap <Leader>c :set cursorline!<CR>
" clear highlighting with escape key " clear highlighting with escape key
nnoremap <silent> <Esc> :noh<Return><Esc> nnoremap <silent> <Esc> :noh<Return><Esc>