nvim: incremental commands

This commit is contained in:
Charles Gould 2020-06-15 21:06:12 -05:00
parent 471c96fea2
commit 5217cbe06b

View File

@ -21,6 +21,9 @@ call plug#end()
set nonumber norelativenumber set nonumber norelativenumber
nnoremap <silent> <F2> :set number! relativenumber!<Return> nnoremap <silent> <F2> :set number! relativenumber!<Return>
" show the effects of a command incrementally, as you type
set inccommand=nosplit
" clear highlighting with escape key " clear highlighting with escape key
nnoremap <silent> <Esc> :noh<Return><Esc> nnoremap <silent> <Esc> :noh<Return><Esc>