diff --git a/nvim-config/init.vim b/nvim-config/init.vim index 4f0cbbf..2a68dc6 100644 --- a/nvim-config/init.vim +++ b/nvim-config/init.vim @@ -133,6 +133,11 @@ set hidden let g:loaded_perl_provider = 0 +" Use to clear the highlighting of :set hlsearch. +if maparg('', 'n') ==# '' + nnoremap :nohlsearch +endif + " Remember cursor position between vim sessions autocmd BufReadPost * \ if line("'\"") > 0 && line ("'\"") <= line("$") | @@ -159,6 +164,37 @@ lua <