Adding alternate separator for consistent visuals

This commit is contained in:
Joshua Borton
2013-07-07 18:37:50 -04:00
parent ad87f3a3c3
commit 67de92b1d4
3 changed files with 14 additions and 5 deletions

View File

@@ -22,7 +22,7 @@ function! airline#extensions#ctrlp#ctrlp_airline(...)
let nxt = '%#CtrlPlight# '.a:6.' %#CtrlParrow3#'.g:airline_left_sep
let marked = '%#CtrlPdark# '.a:7.' '
let focus = '%=%<%#CtrlPdark# '.a:1.' %*'
let byfname = '%#CtrlParrow4#'.g:airline_right_sep.'%#CtrlPdark# '.a:2.' %*'
let byfname = '%#CtrlParrow4#'.g:airline_right_alt_sep.'%#CtrlPdark# '.a:2.' %*'
let dir = '%#CtrlParrow3#'.g:airline_right_sep.'%#CtrlPlight# '.getcwd().' %*'
" Return the full statusline
return regex.prv.item.nxt.marked.focus.byfname.dir