diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2015-04-21 23:25:01 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-04-21 23:25:01 +0200 |
commit | 2038cf1a696ce448fb89eeb7ede4303ed4fdd71a (patch) | |
tree | e7c64d44c9e38e175c3ad610dec479c3c98b8cda | |
parent | e97b9295fe32dd2f1e4ef7c39f80d9e748bfbfe2 (diff) | |
download | dotfiles-2038cf1a696ce448fb89eeb7ede4303ed4fdd71a.tar.xz |
vim: Add vim-fugitive
-rw-r--r-- | vim/vimrc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -20,6 +20,7 @@ NeoBundle 'Shougo/unite.vim' NeoBundle 'mattn/emmet-vim' NeoBundle 'miekg/rfc' NeoBundle 'tommcdo/vim-exchange' +NeoBundle 'tpope/vim-fugitive' NeoBundle 'ConradIrwin/vim-bracketed-paste' NeoBundle 'scrooloose/syntastic' NeoBundle 'kien/ctrlp.vim' @@ -152,6 +153,10 @@ if neobundle#is_sourced('syntastic') set statusline+=%* endif +if neobundle#is_sourced('vim-fugitive') + set statusline+=%{fugitive#statusline()} +endif + " Show a warning if file format isn’t unix set statusline+=%#warningmsg# set statusline+=%{&ff!='unix'?'['.&ff.']':''} |