From: Jannik ZANDER Date: Sun, 5 Aug 2018 05:10:57 +0000 (+0200) Subject: Revert last X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=5d004c10e4091617f27ccb53e5a6d111ee69825d;p=vimfiles.git Revert last --- 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