From f60a8cc7a3ddf4426fa04658c7b4220809cbe05a Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Tue, 1 Mar 2016 22:07:31 +0100 Subject: [PATCH] another approach for updating the bufferline on BufAdd --- autoload/airline/extensions/tabline.vim | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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)