Need to cleanup vim config

This commit is contained in:
Daniel Flanagan 2020-11-05 21:59:51 -06:00
parent 23ac0fc166
commit 8b6cffc5ac
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
2 changed files with 29 additions and 0 deletions

View file

@ -6,4 +6,5 @@
!/settings.vim
!/bindings.vim
!/plugins.vim
!/airline.vim
!/commands.vim

28
apps/neovim/airline.vim Normal file
View file

@ -0,0 +1,28 @@
let g:airline_powerline_fonts = 1
let g:airline#extensions#tabline#enabled = 1 " automatically displays all buffers when there's only one tab open
let g:airline#extensions#tabline#fnamemod = ':t'
let g:airline#extensions#tabline#left_sep = ''
let g:airline#extensions#tabline#left_alt_sep = ''
let g:airline_right_alt_sep = ''
let g:airline_right_sep = ''
let g:airline_left_alt_sep= ''
let g:airline_left_sep = ''
let g:airline#extensions#tabline#buffers_label = ''
let g:airline_mode_map = {
\ '__' : '-',
\ 'n' : 'N',
\ 'i' : 'I',
\ 'R' : 'R',
\ 'T' : 'T',
\ 't' : 'T',
\ 'c' : 'C',
\ 'v' : 'V',
\ 'V' : 'V',
\ '' : 'V',
\ 's' : 'S',
\ 'S' : 'S',
\ '' : 'S',
\ }