diff options
-rw-r--r-- | dotvimrc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -175,7 +175,9 @@ set statusline+=%{((exists(\"+bomb\")\ &&\ &bomb)?\"B,\":\"\")}]\ " BOM set statusline+=%{strftime('%a\ %b\ %e\ %H:%M')}\ " hour "set statusline+=%{SyntaxItem()} " syntax highlight group under cursor set statusline+=%= " right align -set statusline+=%{fugitive#statusline()}\ " git branch +if !empty(glob("bundle/vim-fugitive/plugin/fugitive.vim")) + set statusline+=%{fugitive#statusline()}\ " git branch +endif set statusline+=0x%-8B\ " current char set statusline+=%-14.(%l,%c%V%)\ %<%P " offset |