From 2038cf1a696ce448fb89eeb7ede4303ed4fdd71a Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Tue, 21 Apr 2015 23:25:01 +0200 Subject: vim: Add vim-fugitive --- vim/vimrc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vim') diff --git a/vim/vimrc b/vim/vimrc index 8d80641..278436d 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -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.']':''} -- cgit v1.2.3-70-g09d2