diff --git a/plugin/airline.vim b/plugin/airline.vim index 7b6415c..95c58b6 100644 --- a/plugin/airline.vim +++ b/plugin/airline.vim @@ -71,7 +71,7 @@ command! -nargs=? -complete=customlist,get_airline_themes AirlineTheme call augroup airline au! autocmd ColorScheme * call airline#highlight(['normal']) - autocmd WinLeave,BufLeave,CmdwinLeave * call airline#update_statusline(0) - autocmd WinEnter,BufEnter,FileType,BufUnload,CmdwinEnter * call init() | call airline#update_statusline(1) + autocmd WinLeave * call airline#update_statusline(0) + autocmd WinEnter,BufWinEnter,FileType,BufUnload * call init() | call airline#update_statusline(1) autocmd ShellCmdPost * call airline#update_externals() augroup END