add git related plugin and modify statusline

This commit is contained in:
Mathieu Maret 2015-07-07 13:30:00 +02:00
parent 0f129ab875
commit 095b5458d3

8
.vimrc
View File

@ -50,6 +50,8 @@ set showmode
set showcmd
" display line number"
set number
" set status line
set statusline=%<%f\ %h%w%m%r%3.(\ %)%{fugitive#statusline()}%=%([%{Tlist_Get_Tagname_By_Line()}]%)%3.(\ %)%-14.(%l,%c%V%)\ %P
" always display status line
set laststatus=2
@ -100,6 +102,12 @@ call vundle#begin()
" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'
" Show current modified line
Plugin 'airblade/vim-gitgutter'
" Communication with git
Plugin 'tpope/vim-fugitive'
" List current file function
Plugin 'vim-scripts/taglist.vim'
call vundle#end()