vim: don't use powerline symbols
These symbols need custom fonts to be installed, which is a pain to manage.
This commit is contained in:
parent
54a15259a1
commit
85b4d48980
1 changed files with 5 additions and 5 deletions
|
@ -113,17 +113,17 @@ call plug#begin('$XDG_CONFIG_HOME/vim/bundle')
|
||||||
Plug 'vim-airline/vim-airline'
|
Plug 'vim-airline/vim-airline'
|
||||||
Plug 'vim-airline/vim-airline-themes'
|
Plug 'vim-airline/vim-airline-themes'
|
||||||
function! VimrcAirlineInit()
|
function! VimrcAirlineInit()
|
||||||
let g:airline_section_c = airline#section#create(['%{bufnr()} %f %r%m'])
|
let g:airline_section_c = airline#section#create(['%{bufnr()}: %f %r%m'])
|
||||||
let g:airline_section_z = airline#section#create_right(['%p%%', '%l/%L', '%v'])
|
let g:airline_section_z = airline#section#create_right(['%p%%', '%l/%L', '%v'])
|
||||||
endfunction
|
endfunction
|
||||||
autocmd User AirlineAfterInit call VimrcAirlineInit()
|
autocmd User AirlineAfterInit call VimrcAirlineInit()
|
||||||
if !exists('g:airline_symbols')
|
if !exists('g:airline_symbols')
|
||||||
let g:airline_symbols = {}
|
let g:airline_symbols = {}
|
||||||
endif
|
endif
|
||||||
let g:airline_left_sep = ''
|
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.crypt = 'C' " section A
|
let g:airline_symbols.crypt = 'C' " section A
|
||||||
let g:airline_symbols.spell = 'S' " section A
|
let g:airline_symbols.spell = 'S' " section A
|
||||||
let g:airline_symbols.paste = 'P' " section A
|
let g:airline_symbols.paste = 'P' " section A
|
||||||
|
|
Loading…
Add table
Reference in a new issue