nvim: highlight cursor line
This commit is contained in:
parent
5217cbe06b
commit
a95dc18419
@ -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>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user