From 5d004c10e4091617f27ccb53e5a6d111ee69825d Mon Sep 17 00:00:00 2001 From: Jannik ZANDER Date: Sun, 5 Aug 2018 07:10:57 +0200 Subject: [PATCH] Revert last --- vimrc | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/vimrc b/vimrc index 3154dda..59285d7 100644 --- a/vimrc +++ b/vimrc @@ -194,17 +194,6 @@ function! s:Iar() endfunction command! -bang -nargs=0 -complete=file Iar call s:Iar() -function! RefreshUI() - if exists(':AirlineRefresh') - AirlineRefresh - else - " Clear & redraw the screen, then redraw all statuslines. - redraw! - redrawstatus! - endif -endfunction - - " Autocommands if has('autocmd') augroup expandtabs @@ -238,9 +227,7 @@ if has('autocmd') augroup vimrc autocmd! - autocmd BufWritePost ~/.vim/vimrc source $MYVIMRC | :call RefreshUI() - autocmd BufWritePost ~/.vim/gvimrc source $MYVIMRC | :call RefreshUI() - autocmd BufWritePost ~/.vim/vimrc.local source $MYVIMRC | :call RefreshUI() + autocmd BufWritePost vimrc,gvimrc,vimrc.local source $MYVIMRC augroup end augroup quickfix -- 2.43.0