mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2025-02-12 20:04:16 +08:00
update documentation
This commit is contained in:
parent
384150ecd7
commit
5d92aaecaa
|
@ -6,7 +6,7 @@ Lean & mean statusline for vim that's light as air.
|
||||||
|
|
||||||
# Features
|
# Features
|
||||||
|
|
||||||
* tiny core (under 200 lines), written with extensibility in mind (specifically adhering to the [open/closed principle][8]).
|
* tiny core (under 200 lines), written with extensibility in mind ([open/closed principle][8]).
|
||||||
* integrates with a variety of plugins, including: [vim-bufferline][6], [fugitive][4], [unite][9], [ctrlp][10], [minibufexpl][15], [gundo][16], [undotree][17], [nerdtree][18], [tagbar][19], [syntastic][5] and [lawrencium][21].
|
* integrates with a variety of plugins, including: [vim-bufferline][6], [fugitive][4], [unite][9], [ctrlp][10], [minibufexpl][15], [gundo][16], [undotree][17], [nerdtree][18], [tagbar][19], [syntastic][5] and [lawrencium][21].
|
||||||
* looks good with regular fonts and provides configuration points so you can use unicode or powerline symbols.
|
* looks good with regular fonts and provides configuration points so you can use unicode or powerline symbols.
|
||||||
* optimized for speed; it loads in under a millisecond.
|
* optimized for speed; it loads in under a millisecond.
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
*airline.txt* Lean and mean statusline that's light as air
|
*airline.txt* Lean and mean statusline that's light as air
|
||||||
|
_ _ _ _ ~
|
||||||
|
__ _(_)_ __ ___ __ _(_)_ __| (_)_ __ ___ ~
|
||||||
|
\ \ / / | '_ ` _ \ _____ / _` | | '__| | | '_ \ / _ \ ~
|
||||||
|
\ V /| | | | | | |_____| (_| | | | | | | | | | __/ ~
|
||||||
|
\_/ |_|_| |_| |_| \__,_|_|_| |_|_|_| |_|\___| ~
|
||||||
|
~
|
||||||
==============================================================================
|
==============================================================================
|
||||||
INTRODUCTION *airline*
|
INTRODUCTION *airline*
|
||||||
|
|
||||||
|
@ -16,8 +21,7 @@ FEATURES *airline-features*
|
||||||
* optimized for speed; it loads in under a millisecond.
|
* optimized for speed; it loads in under a millisecond.
|
||||||
* fully customizable; if you know a little |statusline| syntax you can
|
* fully customizable; if you know a little |statusline| syntax you can
|
||||||
tweak it to your needs.
|
tweak it to your needs.
|
||||||
* trivial to write colorschemes; for a minimal theme you need to edit
|
* extremely easy to write themes.
|
||||||
9 lines of colors. (please send pull requests)
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
NAME *airline-name*
|
NAME *airline-name*
|
||||||
|
@ -232,38 +236,41 @@ highlight groups.
|
||||||
TROUBLESHOOTING *airline-troubleshooting*
|
TROUBLESHOOTING *airline-troubleshooting*
|
||||||
|
|
||||||
Q. There are no colors.
|
Q. There are no colors.
|
||||||
|
|
||||||
A. You need to set up your terminal correctly. For more details, see
|
A. You need to set up your terminal correctly. For more details, see
|
||||||
<http://vim.wikia.com/wiki/256_colors_in_vim>. Alternatively, if you want to
|
<http://vim.wikia.com/wiki/256_colors_in_vim>. Alternatively, if you want
|
||||||
bypass the automatic detection of terminal colors, you can force Vim into 256
|
to bypass the automatic detection of terminal colors, you can force Vim
|
||||||
colors with this:
|
into 256 color mode with this:
|
||||||
>
|
>
|
||||||
set t_Co=256
|
set t_Co=256
|
||||||
<
|
<
|
||||||
|
|
||||||
Q. The statusline does not appear until I create a split.
|
Q. The statusline does not appear until I create a split.
|
||||||
|
|
||||||
A. This is the default setting of |laststatus|. If you want it to appear all
|
A. This is the default setting of |laststatus|. If you want it to appear all
|
||||||
the time, add the following to your vimrc:
|
the time, add the following to your vimrc:
|
||||||
>
|
>
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
<
|
<
|
||||||
|
|
||||||
Q. Powerline symbols are not showing up.
|
Q. Powerline symbols are not showing up.
|
||||||
|
|
||||||
A. First, you must install patched powerline fonts. Second, you must enable
|
A. First, you must install patched powerline fonts. Second, you must enable
|
||||||
unicode in vim.
|
unicode in vim.
|
||||||
>
|
>
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
<
|
<
|
||||||
|
|
||||||
Q. There is a pause when leaving insert mode.
|
Q. There is a pause when leaving insert mode.
|
||||||
|
|
||||||
A. Add the following to your vimrc.
|
A. Add the following to your vimrc.
|
||||||
>
|
>
|
||||||
set ttimeoutlen=50
|
set ttimeoutlen=50
|
||||||
<
|
<
|
||||||
|
|
||||||
|
Q. The colors look a little off for some themes.
|
||||||
|
A. Certain themes are derived from the active colorscheme by extracting colors
|
||||||
|
from predefined highlight groups. These airline themes will look good for
|
||||||
|
their intended matching colorschemes, but will be hit or miss when loaded
|
||||||
|
with other colorschemes.
|
||||||
|
|
||||||
|
|
||||||
Solutions to other common problems can be found in the Wiki:
|
Solutions to other common problems can be found in the Wiki:
|
||||||
<https://github.com/bling/vim-airline/wiki/FAQ>
|
<https://github.com/bling/vim-airline/wiki/FAQ>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user