diff --git a/autoload/airline/extensions/tabline.vim b/autoload/airline/extensions/tabline.vim index 2e547f8..05053a5 100644 --- a/autoload/airline/extensions/tabline.vim +++ b/autoload/airline/extensions/tabline.vim @@ -56,11 +56,7 @@ function! s:update_tabline() \ || isdirectory(expand("")) return endif - if empty(mapcheck("AirlineTablineRefresh", 'n')) - noremap AirlineTablineRefresh :set mod! - endif - call feedkeys("\AirlineTablineRefresh") - call feedkeys("\AirlineTablineRefresh") + doautocmd User BufMRUChange endfunction function! airline#extensions#tabline#load_theme(palette)