diff options
author | Adrian Kummerlaender | 2018-07-16 14:16:57 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2018-07-16 14:16:57 +0200 |
commit | 5d1c0809cdde5a252fb772f92fd7886a50d86c77 (patch) | |
tree | 6df074a3a51c9e1a49d244d445f0e316b4bd29c2 /pkgs/vim | |
parent | fcd088fd99e41240515d010e07e4a213e67303af (diff) | |
download | nixos_system-5d1c0809cdde5a252fb772f92fd7886a50d86c77.tar nixos_system-5d1c0809cdde5a252fb772f92fd7886a50d86c77.tar.gz nixos_system-5d1c0809cdde5a252fb772f92fd7886a50d86c77.tar.bz2 nixos_system-5d1c0809cdde5a252fb772f92fd7886a50d86c77.tar.lz nixos_system-5d1c0809cdde5a252fb772f92fd7886a50d86c77.tar.xz nixos_system-5d1c0809cdde5a252fb772f92fd7886a50d86c77.tar.zst nixos_system-5d1c0809cdde5a252fb772f92fd7886a50d86c77.zip |
Disable autoread for consistency between vim and nvim
Diffstat (limited to 'pkgs/vim')
-rw-r--r-- | pkgs/vim/conf/rc.vim | 3 |
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 |