mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-05-16 13:35:00 +08:00
allow ctrlp to use mode colors other than insert's colors
add global variable g:airline#extensions#ctrlp#color_template which can hold modes normal|insert|visual|replace as string. ctrlp will use the given mode's colors if the active theme doesn't define any.
This commit is contained in:
@@ -227,6 +227,16 @@ vim-signify <https://github.com/mhinz/vim-signify>
|
||||
* configure whether a message should be displayed. >
|
||||
let g:airline#extensions#whitespace#show_message = 1
|
||||
<
|
||||
*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'
|
||||
<
|
||||
|
||||
==============================================================================
|
||||
FUNCREFS *airline-funcrefs*
|
||||
|
||||
Reference in New Issue
Block a user