From 7ca96c831fda13af4af95f651266a3a6b0096aa9 Mon Sep 17 00:00:00 2001 From: Nicole Dresselhaus Date: Wed, 7 Feb 2024 18:29:23 +0100 Subject: [PATCH] merged --- nvim-config/init.vim | 64 ++++++++++++++++++++++++++++---------------- 1 file changed, 41 insertions(+), 23 deletions(-) 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 <