Drop bufferline for airline builtin

Sat, 25 Feb 2017 03:13:13 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 25 Feb 2017 03:13:13 -0500
changeset 524
d559496f6ef3
parent 523
978cc7613a13
child 525
147fd7a7dfc8

Drop bufferline for airline builtin

.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc
+++ b/.vimrc
@@ -43,7 +43,6 @@ let s:filename=expand('<sfile>')
 
   Plugin 'vim-airline/vim-airline'
   Plugin 'vim-airline/vim-airline-themes'
-  Plugin 'bling/vim-bufferline'
   Plugin 'vasconcelloslf/vim-interestingwords'
 
   Plugin 'editorconfig/editorconfig-vim'
@@ -430,12 +429,21 @@ let g:vimfiler_as_default_explorer = 1
 let g:airline#extensions#whitespace#enabled = 0
 let g:airline_powerline_fonts = 0
 
-"keep bufferline from writing into the command line
-let g:bufferline_echo = 0
+let g:airline#extensions#tabline#enabled = 1
+let g:airline#extensions#tabline#buffer_min_count = 2
+let g:airline#extensions#tabline#tab_nr_type = 1
+let g:airline#extensions#tabline#buffer_nr_show = 1
+let g:airline#extensions#tabline#buffer_nr_format = '%s:'
+let g:airline#extensions#tabline#buffers_label = 'BUF'
+let g:airline#extensions#tabline#tabs_label = 'TAB'
+let g:airline#extensions#tabline#left_sep = ' '
+let g:airline#extensions#tabline#left_alt_sep = ' '
+let g:airline#extensions#tabline#right_sep = ' '
+let g:airline#extensions#tabline#right_alt_sep = ' '
+let g:airline#extensions#tabline#ignore_bufadd_pat =
+  \ '\c\v^__gundo|^__tagbar|^vimfiler|^[doc\d+\]$'
 
-"cycle the bufferline with current buf in 2nd-to-last spot
-let g:bufferline_rotate = 1
-let g:bufferline_fixed_index = -2
+let g:airline#extensions#branch#format = 2
 
 ">> interestingwords
 " These are jellybeans colors and some complements

mercurial