diff --git a/vim/colors/customred256.vim b/vim/colors/customred256.vim index 6d72034..31f4105 100644 --- a/vim/colors/customred256.vim +++ b/vim/colors/customred256.vim @@ -202,7 +202,8 @@ hi StatusLineNC ctermfg=238 guifg=#444444 ctermbg=232 guibg=NONE term=none c hi StatusLineNormal ctermfg=243 guifg=#777777 ctermbg=234 guibg=#1c1c1c term=none cterm=none hi StatusLineActive ctermfg=255 guifg=#ffffff ctermbg=239 guibg=#4e4e4e term=none cterm=none hi StatusLineActiveQuotes ctermfg=244 guifg=#888888 ctermbg=239 guibg=#4e4e4e term=none cterm=none -hi StatusLineDivider ctermfg=234 guifg=#1a1a1a ctermbg=234 guibg=#1a1a1a term=none cterm=none +hi StatusLineDivider ctermfg=233 guifg=#111111 ctermbg=233 guibg=#111111 term=none cterm=none +hi StatusLineDividerActive ctermfg=234 guifg=#222222 ctermbg=234 guibg=#222222 term=none cterm=none hi StatusLineSeparator ctermfg=232 guifg=#ffffff ctermbg=232 guibg=NONE hi StatusLineDir ctermfg=241 guifg=#666666 ctermbg=234 guibg=#1c1c1c hi StatusLineFile ctermfg=250 guifg=#cccccc ctermbg=234 guibg=#1c1c1c diff --git a/vimrc b/vimrc index 7361334..abfa4b0 100644 --- a/vimrc +++ b/vimrc @@ -286,12 +286,15 @@ function! GetStatus(isactive) let l:statusline.=l:separator . l:active let l:statusline.=" %{ObsessionStatus(fnamemodify(v:this_session,':t'),'---')} %*" let l:statusline.=l:separator . l:active - else - let l:statusline.='%#StatusLineDivider# %< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >' . l:separator . '%*' endif "}}} " right/left separator{{{ - let l:statusline.='%#StatusLineNC#%=' + if a:isactive + let l:statusline.='%#StatusLineDividerActive# %< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >' . l:separator . '%*' + else + let l:statusline.='%#StatusLineDivider# %< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >' . l:separator . '%*' + endif + let l:statusline.='%=' "}}} " path/filename.extension{{{ let l:statusline.='%#StatusLineDir# '