diff --git a/autoload/airline/util.vim b/autoload/airline/util.vim index 2261510..5656c5c 100644 --- a/autoload/airline/util.vim +++ b/autoload/airline/util.vim @@ -100,7 +100,7 @@ endfunction function! airline#util#ignore_buf(name) let pat = '\c\v'. get(g:, 'airline#ignore_bufadd_pat', ''). \ get(g:, 'airline#extensions#tabline#ignore_bufadd_pat', - \ 'gundo|undotree|vimfiler|tagbar|nerd_tree|startify') + \ 'gundo|undotree|vimfiler|tagbar|nerd_tree|startify|!') return match(a:name, pat) > -1 endfunction diff --git a/doc/airline.txt b/doc/airline.txt index e7cbaea..c523dbc 100644 --- a/doc/airline.txt +++ b/doc/airline.txt @@ -331,7 +331,9 @@ section. Determines a pattern to ignore a buffer name for various things (e.g. the tabline extension) or the read-only check. Default is `g:airline#extensions#tabline#ignore_bufadd_pat` (see below) or -`'gundo|undotree|vimfiler|tagbar|nerd_tree|startify'` if it is unset. +`'gundo|undotree|vimfiler|tagbar|nerd_tree|startify|!'` if it is unset. + +The "!" prevents terminal buffers to appear in the tabline. *airline#extensions#tabline#exclude_buffers* Buffer numbers to be excluded from showing in the tabline (similar to