add documentation for tabline.

This commit is contained in:
Bailey Ling 2013-09-03 03:20:21 +00:00
parent cedd91d23a
commit 4f76b3a971

View File

@ -250,7 +250,7 @@ csv.vim <https://github.com/chrisbra/csv.vim>
vim-gitgutter <https://github.com/airblade/vim-gitgutter> vim-gitgutter <https://github.com/airblade/vim-gitgutter>
vim-signify <https://github.com/mhinz/vim-signify> vim-signify <https://github.com/mhinz/vim-signify>
* enable/disable showing a summary of changed hunks under source control. * enable/disable showing a summary of changed hunks under source control. >
let g:airline#extensions#hunks#enabled = 1 let g:airline#extensions#hunks#enabled = 1
< <
* enable/disable showing only non-zero hunks. > * enable/disable showing only non-zero hunks. >
@ -259,6 +259,22 @@ vim-signify <https://github.com/mhinz/vim-signify>
* set hunk count symbols. > * set hunk count symbols. >
let g:airline#extensions#hunks#hunk_symbols = ['+', '~', '-'] let g:airline#extensions#hunks#hunk_symbols = ['+', '~', '-']
< <
------------------------------------- *airline-ctrlp*
ctrlp <https://github.com/kien/ctrlp.vim>
* configure which mode colors should ctrlp window use (takes effect
only if the active airline theme doesn't define ctrlp colors) >
let g:airline#extensions#ctrlp#color_template = 'insert' (default)
let g:airline#extensions#ctrlp#color_template = 'normal'
let g:airline#extensions#ctrlp#color_template = 'visual'
let g:airline#extensions#ctrlp#color_template = 'replace'
<
------------------------------------- *airline-virtualenv*
virtualenv <https://github.com/jmcantrell/vim-virtualenv>
* enable/disable virtualenv integration >
let g:airline#extensions#virtualenv#enabled = 1
<
------------------------------------- *airline-whitespace* ------------------------------------- *airline-whitespace*
* enable/disable detection of whitespace errors. > * enable/disable detection of whitespace errors. >
let g:airline#extensions#whitespace#enabled = 1 let g:airline#extensions#whitespace#enabled = 1
@ -276,21 +292,17 @@ vim-signify <https://github.com/mhinz/vim-signify>
let g:airline#extensions#whitespace#trailing_format = 'trailing[%s]' let g:airline#extensions#whitespace#trailing_format = 'trailing[%s]'
let g:airline#extensions#whitespace#mixed_indent_format = 'mixed-indent[%s]' let g:airline#extensions#whitespace#mixed_indent_format = 'mixed-indent[%s]'
< <
------------------------------------- *airline-ctrlp* ------------------------------------- *airline-tabline*
ctrlp <https://github.com/kien/ctrlp.vim> * enable/disable enhanced tabline. >
let g:airline#extensions#tabline#enabled = 0
* configure which mode colors should ctrlp window use (takes effect
only if the active airline theme doesn't define ctrlp colors) >
let g:airline#extensions#ctrlp#color_template = 'insert' (default)
let g:airline#extensions#ctrlp#color_template = 'normal'
let g:airline#extensions#ctrlp#color_template = 'visual'
let g:airline#extensions#ctrlp#color_template = 'replace'
< <
------------------------------------- *airline-virtualenv* * configure the formatting of filenames (see |filename-modifiers|). >
virtualenv <https://github.com/jmcantrell/vim-virtualenv> let g:airline#extensions#tabline#fnamemod = ':p:.'
<
* enable/disable virtualenv integration > * configure filename match rules to exclude from the tabline. >
let g:airline#extensions#virtualenv#enabled = 1 let g:airline#extensions#tabline#excludes = []
<
Note: You will likely want to set |showtabline| to 2.
============================================================================== ==============================================================================
ADVANCED CUSTOMIZATION *airline-advanced-customization* ADVANCED CUSTOMIZATION *airline-advanced-customization*