Skip to content

Commit 2fa6d2b

Browse files
jcbwlkrspf13
authored andcommitted
Update airline documentation
+ Update README and linked image
1 parent 6c379d3 commit 2fa6d2b

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

.vimrc

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -769,11 +769,19 @@
769769
let g:indent_guides_enable_on_vim_startup = 1
770770
" }
771771

772-
" airline {
773-
let g:airline_theme='powerlineish' " airline users use the powerline theme
772+
" vim-airline {
773+
" Set configuration options for the statusline plugin vim-airline.
774+
" Use the powerline theme and optionally enable powerline symbols.
775+
" To use the symbols , , , , , , and .in the statusline
776+
" segments add the following to your .vimrc.before.local file:
777+
" let g:airline_powerline_fonts=1
778+
" If the previous symbols do not render for you then install a
779+
" powerline enabled font.
780+
let g:airline_theme = 'powerlineish'
774781
if !exists('g:airline_powerline_fonts')
775-
let g:airline_left_sep='' " Slightly fancier separator, instead of '>'
776-
let g:airline_right_sep='' " Slightly fancier separator, instead of '<'
782+
" Use the default set of separators with a few customizations
783+
let g:airline_left_sep='' " Slightly fancier than '>'
784+
let g:airline_right_sep='' " Slightly fancier than '<'
777785
endif
778786
" }
779787

README.markdown

Lines changed: 2 additions & 2 deletions
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)