mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2024-12-12 21:33:41 +08:00
Merge branch '256' of https://github.com/bling/vim-airline into 256
This commit is contained in:
commit
b22190400d
|
@ -43,7 +43,12 @@ function! airline#extensions#ctrlp#ctrlp_airline(...)
|
||||||
let focus = '%=%<%#CtrlPdark# '.a:1.' %*'
|
let focus = '%=%<%#CtrlPdark# '.a:1.' %*'
|
||||||
let byfname = '%#CtrlParrow3#'.g:airline_right_alt_sep.'%#CtrlPdark# '.a:2.' %*'
|
let byfname = '%#CtrlParrow3#'.g:airline_right_alt_sep.'%#CtrlPdark# '.a:2.' %*'
|
||||||
let dir = '%#CtrlParrow3#'.g:airline_right_sep.'%#CtrlPlight# '.getcwd().' %*'
|
let dir = '%#CtrlParrow3#'.g:airline_right_sep.'%#CtrlPlight# '.getcwd().' %*'
|
||||||
return regex.prv.item.nxt.marked.focus.byfname.dir
|
if get(g:, 'airline#extensions#ctrlp#show_adjacent_modes', 1)
|
||||||
|
let modes = prv.item.nxt
|
||||||
|
else
|
||||||
|
let modes = item
|
||||||
|
endif
|
||||||
|
return regex.modes.marked.focus.byfname.dir
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" Argument: len
|
" Argument: len
|
||||||
|
|
|
@ -280,6 +280,11 @@ ctrlp <https://github.com/kien/ctrlp.vim>
|
||||||
let g:airline#extensions#ctrlp#color_template = 'visual'
|
let g:airline#extensions#ctrlp#color_template = 'visual'
|
||||||
let g:airline#extensions#ctrlp#color_template = 'replace'
|
let g:airline#extensions#ctrlp#color_template = 'replace'
|
||||||
<
|
<
|
||||||
|
|
||||||
|
* configure whether to show the previous and next modes (mru, buffer, etc...)
|
||||||
|
>
|
||||||
|
let g:airline#extensions#ctrlp#show_adjacent_modes = 1
|
||||||
|
<
|
||||||
------------------------------------- *airline-virtualenv*
|
------------------------------------- *airline-virtualenv*
|
||||||
virtualenv <https://github.com/jmcantrell/vim-virtualenv>
|
virtualenv <https://github.com/jmcantrell/vim-virtualenv>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user