From 5d1c0809cdde5a252fb772f92fd7886a50d86c77 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Mon, 16 Jul 2018 14:16:57 +0200 Subject: Disable autoread for consistency between vim and nvim --- pkgs/vim/conf/rc.vim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkgs/vim/conf') 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 :e# nmap f za nmap F zA +" disable to override default on neovim +set noautoread + autocmd InsertEnter * :setlocal nohlsearch autocmd InsertLeave * :setlocal hlsearch -- cgit v1.2.3