mirror of https://gitlab.com/baco/dotconf.git
Reduce some space on airline plugin for Vim/Neovim
Reduced some space on the airline plugin by stripping out to one letter the mode indicator. Mode indicator is kinda redundant since it comes in full on native Vim/Neovim status bar (except perhaps for Normal mode).
This commit is contained in:
parent
ae1ee80564
commit
aba33b1a2f
|
@ -82,4 +82,15 @@ endif
|
|||
" Misc
|
||||
let g:airline#extensions#tabline#enabled = v:true
|
||||
let g:airline#extensions#tabline#buffer_min_count = 2
|
||||
let g:airline_mode_map = {
|
||||
\ '__': '-',
|
||||
\ 'n': 'N',
|
||||
\ 'i': 'I',
|
||||
\ 'R': 'R',
|
||||
\ 'c': 'C',
|
||||
\ 'v': 'V',
|
||||
\ 'V': 'V-L',
|
||||
\ '': 'V',
|
||||
\ 's': 'S',
|
||||
\ }
|
||||
let g:airline#extensions#tagbar#flags = 'f' " Requires majutsushi/tagbar plugin
|
||||
|
|
11
vim/vimrc
11
vim/vimrc
|
@ -81,4 +81,15 @@ endif
|
|||
" Misc
|
||||
let g:airline#extensions#tabline#enabled = v:true
|
||||
let g:airline#extensions#tabline#buffer_min_count = 2
|
||||
let g:airline_mode_map = {
|
||||
\ '__': '-',
|
||||
\ 'n': 'N',
|
||||
\ 'i': 'I',
|
||||
\ 'R': 'R',
|
||||
\ 'c': 'C',
|
||||
\ 'v': 'V',
|
||||
\ 'V': 'V-L',
|
||||
\ '': 'V',
|
||||
\ 's': 'S',
|
||||
\ }
|
||||
let g:airline#extensions#tagbar#flags = 'f' " Requires majutsushi/tagbar plugin
|
||||
|
|
Loading…
Reference in New Issue