From 071f1117cc2182891f3f53c24d6c7beb20875f24 Mon Sep 17 00:00:00 2001 From: Jidbo Date: Wed, 3 Apr 2019 14:15:12 +0200 Subject: [PATCH] clean up airline --- .vimrc | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.vimrc b/.vimrc index bb50f43..c8333e7 100644 --- a/.vimrc +++ b/.vimrc @@ -215,12 +215,21 @@ let g:polyglot_disabled = ["latex"] let NERDTreeIgnore=['\.pyc$', '\~$'] "ignore files in NERDTree map e :NERDTreeToggle -" airline setup -let g:airline#extensions#tabline#enabled = 1 -let g:airline#extensions#tabline#formatter = 'unique_tail_improved' +" AIRLINE SETUP +" sections +let g:airline_section_y = "" +let g:airline_section_z = "%l/%L:%c" +let g:airline_section_b = "%{airline#util#wrap(airline#extensions#branch#get_head(),0)}" +" other stuff let g:airline_theme='solarized' let g:airline_solarized_bg='dark' let g:airline_powerline_fonts = 1 +let g:airline_inactive_collapse=1 +let g:airline_skip_empty_sections = 1 +let g:airline#extensions#whitespace#enabled = 0 +let g:airline#extensions#wordcount#enabled = 0 +let g:airline#extensions#keymap#enabled = 0 +set ttimeoutlen=50 " gitgutter setup let g:gitgutter_sign_added = '∙'