diff options
Diffstat (limited to 'base/vimrc')
-rw-r--r-- | base/vimrc | 25 |
1 files changed, 13 insertions, 12 deletions
@@ -99,18 +99,19 @@ set showcmd set laststatus=2 set statusline= "set statusline+=\ S%{strftime('%R',\ getftime(expand('%')))} " Time when last saved -set statusline+=%1*\ %2*%<\ " Cut at start -set statusline+=%3*%f " Path -set statusline+=%{&modified?'\ +':''} " Modified -set statusline+=%{&ro?'\ ':''} " Read only -set statusline+=%{&paste?'\ P':''} " Paste mode -"set statusline+=[%n%H%M%R%W]\ " flags and buf no -set statusline+=\ %4*%=%3*\ " Section break -set statusline+=%{&ff=='unix'?'':&ff\ } " Line ending -set statusline+=%l\ %c\ %P\ " Line column percent -set statusline+=%2*%1*%{StatusGitInfo()}\ " Git branch -" ^Vue0b0 - +set statusline+=%1*\ %2*%<\ " Cut at start +set statusline+=%3*%f " Path +set statusline+=%{&modified?'\ +':''} " Modified +set statusline+=%{&ro?'\ ':''} " Read only +set statusline+=%{&paste?'\ P':''} " Paste mode +"set statusline+=[%n%H%M%R%W]\ " flags and buf no +set statusline+=\ %4*%=%3*\ " Section break +set statusline+=%{&ff=='unix'?'':toupper(&ff.'\ ')} " Line ending +set statusline+=%l\ %c\ %P\ " Line column percent +set statusline+=%2*%1*%{StatusGitInfo()}\ " Git branch +"█ ^Vue0b0 + +hi StatusLineNC ctermfg=020 ctermbg=019 cterm=NONE hi User1 ctermfg=020 ctermbg=019 hi User2 ctermfg=019 ctermbg=018 hi User3 ctermfg=020 ctermbg=018 |