Added fugutuve git info to status line

This commit is contained in:
ManjaroOne666 2017-09-12 12:54:33 +01:00
parent 08be9f02ca
commit 7ef60fb71e
1 changed files with 2 additions and 1 deletions

3
vimrc
View File

@ -126,7 +126,8 @@ set statusline+=\
set statusline+=[%{strlen(&ft)?&ft:'none'}, " filetype set statusline+=[%{strlen(&ft)?&ft:'none'}, " filetype
set statusline+=%{strlen(&fenc)?&fenc:&enc}, " encoding set statusline+=%{strlen(&fenc)?&fenc:&enc}, " encoding
set statusline+=%{&fileformat}]\ " file format set statusline+=%{&fileformat}]\ " file format
set statusline+=%{&spelllang} " Spell language set statusline+=%{&spelllang}\ \ \ \ \ " Spell language
set statusline+=%{fugitive#statusline()}
set statusline+=%= " left/right separator set statusline+=%= " left/right separator
set statusline+=[\ %{v:register}\ ]\ " active register set statusline+=[\ %{v:register}\ ]\ " active register