forked from astrails/dotvim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstatus.vim
More file actions
16 lines (14 loc) · 690 Bytes
/
status.vim
File metadata and controls
16 lines (14 loc) · 690 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
" old status line
" set statusline+=%<%1*%f%*\ %h%m%r%#warningmsg#%{SyntasticStatuslineFlag()}%*%=%-14.(%l,%c%V%)\ %P
set statusline =
set statusline+=%< " truncate starts here
"set statusline+=%1*%f%* " filename with custom color
set statusline+=%f " filename
set statusline+= " "
set statusline+=%h " help buffer flag
set statusline+=%m " modified flag
set statusline+=%r " read only flag
set statusline+=%#warningmsg#%{SyntasticStatuslineFlag()}%* " syntax warnings
set statusline+=%=%-14.(%l,%c%V%)\ %P
" highlihgt status line file name
"hi User1 term=bold,reverse cterm=bold ctermfg=4 ctermbg=2 gui=bold guifg=Blue guibg=#44aa00