Skip to content

Commit 29ccd34

Browse files
committed
Update airline documentation
+ Update README and linked image
1 parent 3ed660a commit 29ccd34

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

.vimrc

+12-4
Original file line numberDiff line numberDiff line change
@@ -751,11 +751,19 @@
751751
let g:indent_guides_enable_on_vim_startup = 1
752752
" }
753753

754-
" airline {
755-
let g:airline_theme='powerlineish' " airline users use the powerline theme
754+
" vim-airline {
755+
" Set configuration options for the statusline plugin vim-airline.
756+
" Use the powerline theme and optionally enable powerline symbols.
757+
" To use the symbols , , , , , , and .in the statusline
758+
" segments add the following to your .vimrc.before.local file:
759+
" let g:airline_powerline_fonts=1
760+
" If the previous symbols do not render for you then install a
761+
" powerline enabled font.
762+
let g:airline_theme = 'powerlineish'
756763
if !exists('g:airline_powerline_fonts')
757-
let g:airline_left_sep='' " Slightly fancier separator, instead of '>'
758-
let g:airline_right_sep='' " Slightly fancier separator, instead of '<'
764+
" Use the default set of separators with a few customizations
765+
let g:airline_left_sep='' " Slightly fancier than '>'
766+
let g:airline_right_sep='' " Slightly fancier than '<'
759767
endif
760768
" }
761769

README.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ For example this screen shot demonstrates pressing `,,w`
398398

399399
## [Airline]
400400

401-
Airline provides a lightweight themable statusline with no external dependencies. By default it uses the symbols `` and `` as separators for different statusline sections but can be configured to use the same symbols as [Powerline]. An example with and without powerline symbols is shown here:
401+
Airline provides a lightweight themable statusline with no external dependencies. By default this configuration uses the symbols `` and `` as separators for different statusline sections but can be configured to use the same symbols as [Powerline]. An example first without and then with powerline symbols is shown here:
402402

403403
![airline image][airline-img]
404404

@@ -500,4 +500,4 @@ Here's some tips if you've never used VIM before:
500500
[nerdtree-img]:https://i.imgur.com/9xIfu.png
501501
[phpmanual-img]:https://i.imgur.com/c0GGP.png
502502
[easymotion-img]:https://i.imgur.com/ZsrVL.png
503-
[airline-img]:https://i.imgur.com/sU0PG5P.png
503+
[airline-img]:https://i.imgur.com/D4ZYADr.png

0 commit comments

Comments
 (0)