diff --git a/vim/colors/customred256.vim b/vim/colors/customred256.vim index ea9e76f..00c76ce 100644 --- a/vim/colors/customred256.vim +++ b/vim/colors/customred256.vim @@ -199,18 +199,21 @@ hi TabModifiedSelected ctermfg=255 guifg=#eeeeee ctermbg=234 guibg=#1c1c1c hi StatusLine ctermfg=232 guifg=#000000 ctermbg=232 guibg=NONE gui=NONE hi StatusLineNC ctermfg=238 guifg=#444444 ctermbg=232 guibg=NONE term=none cterm=none gui=NONE -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 StatusLineDividerActive ctermfg=233 guifg=#111111 ctermbg=233 guibg=#111111 term=none cterm=none -hi StatusLineDivider ctermfg=234 guifg=#1c1c1c ctermbg=234 guibg=#1c1c1c 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 -hi StatusLineFileMod ctermfg=250 guifg=#cccccc ctermbg=88 guibg=#490000 -hi StatusLineDot ctermfg=236 guifg=#4a4a4a ctermbg=234 guibg=#1c1c1c -hi StatusLineExt ctermfg=243 guifg=#777777 ctermbg=234 guibg=#1c1c1c -hi StatusLineMod ctermfg=255 guifg=#ffffff ctermbg=88 guibg=#490000 +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 StatusLineDividerActive ctermfg=233 guifg=#111111 ctermbg=233 guibg=#111111 term=none cterm=none +hi StatusLineDivider ctermfg=234 guifg=#1c1c1c ctermbg=234 guibg=#1c1c1c term=none cterm=none +hi StatusLineSeparator ctermfg=255 guifg=#ffffff ctermbg=232 guibg=NONE +hi StatusLineDir ctermfg=241 guifg=#666666 ctermbg=234 guibg=#1c1c1c +hi StatusLineDirActive ctermfg=243 guifg=#777777 ctermbg=237 guibg=#3a3a3a +hi StatusLineFile ctermfg=250 guifg=#cccccc ctermbg=234 guibg=#1c1c1c +hi StatusLineFileActive ctermfg=255 guifg=#eeeeee ctermbg=237 guibg=#3a3a3a +hi StatusLineDot ctermfg=241 guifg=#606060 ctermbg=234 guibg=#1c1c1c +hi StatusLineDotActive ctermfg=244 guifg=#808080 ctermbg=237 guibg=#3a3a3a +hi StatusLineExt ctermfg=243 guifg=#777777 ctermbg=234 guibg=#1c1c1c +hi StatusLineExtActive ctermfg=249 guifg=#bbbbbb ctermbg=239 guibg=#3a3a3a +hi StatusLineMod ctermfg=255 guifg=#ffffff ctermbg=88 guibg=#490000 function! DoInsertEnter() set cursorline diff --git a/vimrc b/vimrc index 655384e..1d319aa 100644 --- a/vimrc +++ b/vimrc @@ -297,26 +297,36 @@ function! GetStatus(isactive) let l:statusline.='%=' "}}} " path/filename.extension{{{ - let l:statusline.='%#StatusLineDir# ' if a:isactive + let l:statusline.='%#StatusLineDirActive# ' let l:statusline.="%{expand('%:p:h:t')}/" + let l:statusline.='%#StatusLineFileActive#' + + let l:statusline.="%{expand('%:t:r')}" + + let l:statusline.='%#StatusLineDotActive#' + let l:statusline.="%{strlen(expand('%:e'))?'.':''}" + let l:statusline.='%#StatusLineExtActive#' + let l:statusline.="%{strlen(expand('%:e'))?expand('%:e'):expand('%:e')}" + let l:statusline.=' %*' else + let l:statusline.='%#StatusLineDir# ' let l:statusline.="%{expand('%:p:h')}/" + let l:statusline.='%#StatusLineFile#' + + let l:statusline.="%{expand('%:t:r')}" + + let l:statusline.='%#StatusLineDot#' + let l:statusline.="%{strlen(expand('%:e'))?'.':''}" + let l:statusline.='%#StatusLineExt#' + let l:statusline.="%{strlen(expand('%:e'))?expand('%:e'):expand('%:e')}" + let l:statusline.=' %*' endif - let l:statusline.='%#StatusLineFile#' - - let l:statusline.="%{expand('%:t:r')}" - let l:statusline.='%#StatusLineDot#' - - let l:statusline.='%#StatusLineExt#' - let l:statusline.="%{strlen(expand('%:e'))?'.':''}" - let l:statusline.="%{strlen(expand('%:e'))?expand('%:e'):expand('%:e')}" - let l:statusline.=' %*' "}}} " modified flag {{{ - let l:statusline.='%#StatusLineMod#%M' . l:separator . '%*' + let l:statusline.=l:separator . '%#StatusLineMod#%M' . l:separator . '%*' "}}} " file percentage{{{ let l:statusline.='%#InterfaceNormalDark#%P%*'