update readme about powerline glyths
This commit is contained in:
parent
b3e48b942f
commit
d49a296984
@ -10,7 +10,8 @@ there's already [powerline](https://github.com/Lokaltog/powerline), why yet anot
|
|||||||
* it's small. i want the entire plugin to be less than 200 lines as a rule
|
* it's small. i want the entire plugin to be less than 200 lines as a rule
|
||||||
* gets you 90% of the way there: in addition to all the standard goodies, supports [fugitve](https://github.com/tpope/vim-fugitive) and [syntastic](https://github.com/scrooloose/syntastic)
|
* gets you 90% of the way there: in addition to all the standard goodies, supports [fugitve](https://github.com/tpope/vim-fugitive) and [syntastic](https://github.com/scrooloose/syntastic)
|
||||||
* integration with [vim-bufferline](https://github.com/bling/vim-bufferline)
|
* integration with [vim-bufferline](https://github.com/bling/vim-bufferline)
|
||||||
* it's fast. since it's so small, it only takes 0.6ms to load. by requiring python, powerline needs 60ms on the same machine.
|
* looks good with regular fonts, with support to use powerline font glyths
|
||||||
|
* it's fast to load. since it's so small, it only takes 0.5ms to load. by comparison, powerline needs 60ms on the same machine.
|
||||||
|
|
||||||
# why's it called airline?
|
# why's it called airline?
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
" powerline symbols:
|
" powerline symbols:
|
||||||
" some unicode symbols: ▶ » « ◀
|
" some unicode symbols: ▶ » « ◀
|
||||||
if !exists('g:airline_left_sep')
|
if !exists('g:airline_left_sep')
|
||||||
let g:airline_left_sep=exists('g:airline_powerline_fonts')?"":"»"
|
let g:airline_left_sep=exists('g:airline_powerline_fonts')?"":">"
|
||||||
endif
|
endif
|
||||||
if !exists('g:airline_right_sep')
|
if !exists('g:airline_right_sep')
|
||||||
let g:airline_right_sep=exists('g:airline_powerline_fonts')?"":"«"
|
let g:airline_right_sep=exists('g:airline_powerline_fonts')?"":"<"
|
||||||
endif
|
endif
|
||||||
if !exists('g:airline_enable_fugitive')
|
if !exists('g:airline_enable_fugitive')
|
||||||
let g:airline_enable_fugitive = 1
|
let g:airline_enable_fugitive = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user