From 095b5458d3092534c63452fc85436eee3972abed Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Tue, 7 Jul 2015 13:30:00 +0200 Subject: [PATCH] add git related plugin and modify statusline --- .vimrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.vimrc b/.vimrc index 9ad6484..4f1f5a3 100644 --- a/.vimrc +++ b/.vimrc @@ -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()