Need to cleanup vim config
This commit is contained in:
parent
23ac0fc166
commit
8b6cffc5ac
2 changed files with 29 additions and 0 deletions
1
apps/neovim/.gitignore
vendored
1
apps/neovim/.gitignore
vendored
|
@ -6,4 +6,5 @@
|
|||
!/settings.vim
|
||||
!/bindings.vim
|
||||
!/plugins.vim
|
||||
!/airline.vim
|
||||
!/commands.vim
|
||||
|
|
28
apps/neovim/airline.vim
Normal file
28
apps/neovim/airline.vim
Normal 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',
|
||||
\ }
|
||||
|
Reference in a new issue