mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-22 03:21:30 +01:00
vim: cleanup airline config
This commit is contained in:
parent
5d45f454f8
commit
d58d4232e8
|
@ -107,8 +107,25 @@ let g:gitgutter_sign_modified = '~'
|
||||||
let g:gitgutter_sign_modified_removed = 'x'
|
let g:gitgutter_sign_modified_removed = 'x'
|
||||||
|
|
||||||
" Airline config
|
" Airline config
|
||||||
set laststatus=2
|
" set laststatus=2
|
||||||
" let g:airline#extensions#tabline#enabled = 1
|
let g:airline#extensions#tabline#enabled = 1
|
||||||
|
let g:airline#extensions#tabline#show_splits = 1
|
||||||
|
" let g:airline#extensions#tabline#tab_nr_type = 2
|
||||||
|
|
||||||
|
let g:airline#extensions#tabline#buffer_idx_mode = 1
|
||||||
|
nmap <leader>1 <Plug>AirlineSelectTab1
|
||||||
|
nmap <leader>2 <Plug>AirlineSelectTab2
|
||||||
|
nmap <leader>3 <Plug>AirlineSelectTab3
|
||||||
|
nmap <leader>4 <Plug>AirlineSelectTab4
|
||||||
|
nmap <leader>5 <Plug>AirlineSelectTab5
|
||||||
|
nmap <leader>6 <Plug>AirlineSelectTab6
|
||||||
|
nmap <leader>7 <Plug>AirlineSelectTab7
|
||||||
|
nmap <leader>8 <Plug>AirlineSelectTab8
|
||||||
|
nmap <leader>9 <Plug>AirlineSelectTab9
|
||||||
|
nmap <leader>0 <Plug>AirlineSelectTab0
|
||||||
|
nmap <leader>- <Plug>AirlineSelectPrevTab
|
||||||
|
nmap <leader>+ <Plug>AirlineSelectNextTab
|
||||||
|
|
||||||
let g:airline_theme='gruvbox'
|
let g:airline_theme='gruvbox'
|
||||||
if !exists('g:airline_symbols')
|
if !exists('g:airline_symbols')
|
||||||
let g:airline_symbols = {}
|
let g:airline_symbols = {}
|
||||||
|
@ -117,15 +134,18 @@ let g:airline_left_sep = ''
|
||||||
let g:airline_left_alt_sep = ''
|
let g:airline_left_alt_sep = ''
|
||||||
let g:airline_right_sep = ''
|
let g:airline_right_sep = ''
|
||||||
let g:airline_right_alt_sep = ''
|
let g:airline_right_alt_sep = ''
|
||||||
" let g:airline_symbols = {}
|
|
||||||
let g:airline_symbols.branch = ''
|
let g:airline_symbols.branch = ''
|
||||||
let g:airline_symbols.readonly = ''
|
let g:airline_symbols.readonly = ''
|
||||||
" let g:airline_symbols.linenr = '☰'
|
" let g:airline_symbols.linenr = '☰'
|
||||||
|
let g:airline_symbols.colnr = ':'
|
||||||
let g:airline_symbols.linenr = ''
|
let g:airline_symbols.linenr = ''
|
||||||
|
let g:airline_symbols.maxlinenr = ''
|
||||||
" let g:airline_section_c = ''
|
" let g:airline_section_c = ''
|
||||||
" let g:airline_section_c = '%t'
|
" let g:airline_section_c = '%t'
|
||||||
let g:airline_section_y = ''
|
let g:airline_section_y = ''
|
||||||
let g:airline_section_x = ''
|
" let g:airline_section_x = 'tagbar'
|
||||||
|
let g:airline#extensions#tagbar#flags = 'p'
|
||||||
|
let g:airline#extensions#tagbar#searchmethod = 'scoped-stl'
|
||||||
" let g:airline_symbols.dirty='⚡'
|
" let g:airline_symbols.dirty='⚡'
|
||||||
" let g:airline#extensions#branch#vcs_checks = ['untracked', 'dirty']
|
" let g:airline#extensions#branch#vcs_checks = ['untracked', 'dirty']
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user