aboutsummaryrefslogtreecommitdiffstats
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc5
1 files changed, 5 insertions, 0 deletions
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.']':''}