scriptencoding utf-8 let g:airline_powerline_fonts = g:spacevim_enable_powerline_fonts let g:airline_skip_empty_sections = 1 let g:airline#extensions#tabline#enabled = 1 let g:airline#extensions#tmuxline#enabled = 1 let g:Powerline_sybols = 'unicode' let g:airline#extensions#tabline#buffer_idx_mode = 1 let g:airline#extensions#tabline#buffer_nr_show = 1 let g:airline#extensions#tabline#buffer_nr_format = '%s:' let g:airline#extensions#tabline#fnamemod = ':t' let g:airline#extensions#tabline#fnamecollapse = 1 let g:airline#extensions#tabline#fnametruncate = 0 let g:airline#extensions#tabline#formatter = 'unique_tail_improved' nmap 1 AirlineSelectTab1 nmap 2 AirlineSelectTab2 nmap 3 AirlineSelectTab3 nmap 4 AirlineSelectTab4 nmap 5 AirlineSelectTab5 nmap 6 AirlineSelectTab6 nmap 7 AirlineSelectTab7 nmap 8 AirlineSelectTab8 nmap 9 AirlineSelectTab9 nmap - AirlineSelectPrevTab nmap + AirlineSelectNextTab if !exists('g:airline_symbols') let g:airline_symbols = {} endif " unicode symbols let g:airline_left_sep = 'β–Ά' let g:airline_right_sep = 'β—€' let g:airline_symbols.crypt = 'πŸ”’' let g:airline_symbols.linenr = 'ΒΆ' let g:airline_symbols.branch = 'βŽ‡' let g:airline_symbols.paste = 'βˆ₯' let g:airline_symbols.notexists = 'βˆ„' let g:airline_symbols.whitespace = 'Ξ' " powerline symbols if get(g:, 'airline_powerline_fonts', 0) let g:airline_left_sep = 'ξ‚°' let g:airline_left_alt_sep = 'ξ‚±' let g:airline_right_sep = 'ξ‚²' let g:airline_right_alt_sep = 'ξ‚³' let g:airline_symbols.branch = 'ξ‚ ' let g:airline_symbols.readonly = 'ξ‚’' let g:airline_symbols.linenr = 'ξ‚‘' let g:airline_symbols.maxlinenr= '' endif augroup Fix_airline_with_unite autocmd FileType unite AirlineRefresh autocmd FileType vimfiler AirlineRefresh augroup END