make powerline integration instructions more prominent. resolves #63.

This commit is contained in:
Bailey Ling 2013-07-13 02:47:56 +00:00
parent a8a34b8992
commit cba7e48e5a

View File

@ -42,11 +42,16 @@ This plugin follows the standard runtime path structure, and as such it can be i
`:help airline` `:help airline`
# Integrating with powerline fonts
For the nice looking powerline symbols to appear, you will need to install a patched font. Instructions can be found in the official powerline [documentation][t]. Prepatched fonts can be found in the [powerine-fonts][c] repository.
Finally, enable them in vim-airline by adding `let g:airline_powerline_fonts = 1` to your vimrc.
# FAQ/Troubleshooting # FAQ/Troubleshooting
* the powerline font symbols are not showing up * the powerline font symbols are not showing up
* enable them by adding `let g:airline_powerline_fonts=1` to your vimrc. * the older deprecated [vim-powerline][a] uses different font codes; ensure you are using v2 fonts.
* the older deprecated [vim-powerline][a] uses different font codes compared to the newer [powerline][b]. you can grab prepatched fonts at [powerline-fonts][c].
* there is a pause when leaving insert mode * there is a pause when leaving insert mode
* you need to set `ttimeoutlen` to a low number; 50 is recommended * you need to set `ttimeoutlen` to a low number; 50 is recommended
* you don't see any colors * you don't see any colors
@ -123,3 +128,4 @@ Contributions and pull requests are welcome. Please take note of the following
[q]: https://github.com/mbbill/undotree [q]: https://github.com/mbbill/undotree
[r]: https://github.com/scrooloose/nerdtree [r]: https://github.com/scrooloose/nerdtree
[s]: https://github.com/majutsushi/tagbar [s]: https://github.com/majutsushi/tagbar
[t]: https://powerline.readthedocs.org/en/latest/fontpatching.html