diff --git a/.gitmodules b/.gitmodules index e1f1b98..e52a914 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "bundle/wombat256"] path = bundle/wombat256 url = git@github.com:jinfield/wombat256.vim.git +[submodule "bundle/fugitive"] + path = bundle/fugitive + url = git://github.com/tpope/vim-fugitive.git diff --git a/bundle/fugitive b/bundle/fugitive new file mode 160000 index 0000000..119fd9e --- /dev/null +++ b/bundle/fugitive @@ -0,0 +1 @@ +Subproject commit 119fd9e1adf858dd8a7327d923be2b09d1bb9298 diff --git a/vimrc b/vimrc index 6c2a3cd..53d3686 100644 --- a/vimrc +++ b/vimrc @@ -12,7 +12,7 @@ set dir=/var/tmp,/tmp " dir for swapfile set nofoldenable " turn off folding set splitbelow splitright " new window placement set list listchars=tab:»·,trail:· -set statusline=%<%f\ %h%m%r\ %y\ %=%-16(\ %l,%c-%v\ %)%P +set statusline=%<%f\ %h%m%r\ %y\ %{fugitive#statusline()}%=%-16(\ %l,%c-%v\ %)%P " Enable 256 color xterm support au VimEnter * if &term == 'xterm' | set t_Co=256 | endif