summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkgs/vim/conf/rc.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/vim/conf/rc.vim b/pkgs/vim/conf/rc.vim
index 3b8f9cb..bce2430 100644
--- a/pkgs/vim/conf/rc.vim
+++ b/pkgs/vim/conf/rc.vim
@@ -42,6 +42,9 @@ nmap <backspace> :e#<CR>
nmap f za
nmap F zA
+" disable to override default on neovim
+set noautoread
+
autocmd InsertEnter * :setlocal nohlsearch
autocmd InsertLeave * :setlocal hlsearch