Skip to content

Commit b4f2be7

Browse files
committed
Airline: Disabling Powerline Fonts and Updating README
1 parent a91ade3 commit b4f2be7

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.vimrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@
164164
set statusline+=%=%-14.(%l,%c%V%)\ %p%% " Right aligned file nav info
165165

166166
let g:airline_theme='powerlineish' " airline users use the powerline theme
167-
let g:airline_powerline_fonts=1 " and the powerline fonts
168167
endif
169168

170169
set backspace=indent,eol,start " Backspace for dummies

README.markdown

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,14 @@ For example this screen shot demonstrates pressing `,,w`
382382

383383
![easymotion image][easymotion-img]
384384

385+
## [Airline]
386+
387+
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:
388+
389+
![airline image][airline-img]
390+
391+
To enable powerline symbols first install one of the [Powerline Fonts] or patch your favorite font using the provided instructions. Configure your terminal, MacVim, or Gvim to use the desired font. Finally add `let g:airline_powerline_fonts=1` to your `.vimrc.local`.
392+
385393
## Additional Syntaxes
386394

387395
spf13-vim ships with a few additional syntaxes:
@@ -466,6 +474,9 @@ Here's some tips if you've never used VIM before:
466474
[Matchit]:http://www.vim.org/scripts/script.php?script_id=39
467475
[Tabularize]:https://github.com/godlygeek/tabular
468476
[EasyMotion]:https://github.com/Lokaltog/vim-easymotion
477+
[Airline]:https://github.com/bling/vim-airline
478+
[Powerline]:https://github.com/lokaltog/powerline
479+
[Powerline Fonts]:https://github.com/Lokaltog/powerline-fonts
469480

470481
[spf13-vim-img]:https://i.imgur.com/UKToY.png
471482
[spf13-vimrc-img]:https://i.imgur.com/kZWj1.png
@@ -475,3 +486,4 @@ Here's some tips if you've never used VIM before:
475486
[nerdtree-img]:https://i.imgur.com/9xIfu.png
476487
[phpmanual-img]:https://i.imgur.com/c0GGP.png
477488
[easymotion-img]:https://i.imgur.com/ZsrVL.png
489+
[airline-img]:https://i.imgur.com/sU0PG5P.png

0 commit comments

Comments
 (0)