aboutsummaryrefslogtreecommitdiffstats
path: root/vim
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-04-21 23:25:01 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2015-04-21 23:25:01 +0200
commit2038cf1a696ce448fb89eeb7ede4303ed4fdd71a (patch)
treee7c64d44c9e38e175c3ad610dec479c3c98b8cda /vim
parente97b9295fe32dd2f1e4ef7c39f80d9e748bfbfe2 (diff)
downloaddotfiles-2038cf1a696ce448fb89eeb7ede4303ed4fdd71a.tar.xz
vim: Add vim-fugitive
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.']':''}