Added fugutuve git info to status line
This commit is contained in:
parent
08be9f02ca
commit
7ef60fb71e
3
vimrc
3
vimrc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue