From bca0f5250a152d2ca48305777af4df48e6c3aa5a Mon Sep 17 00:00:00 2001 From: Morgan Wattiez Date: Sat, 9 Nov 2019 14:50:53 +0100 Subject: [PATCH] show git diff in vim --- dot_vimrc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dot_vimrc b/dot_vimrc index e4116dd..232334c 100644 --- a/dot_vimrc +++ b/dot_vimrc @@ -41,9 +41,10 @@ Plugin 'Valloric/YouCompleteMe' Plugin 'vim-airline/vim-airline' " fugitive.vim: A Git wrapper so awesome, it should be illegal Plugin 'tpope/vim-fugitive' - +" A tree explorer plugin for vim. Plugin 'scrooloose/nerdtree' - +" A Vim plugin which shows a git diff in the gutter (sign column) and stages/undoes hunks and partial hunks. +Plugin 'airblade/vim-gitgutter' " All of your Plugins must be added before the following line call vundle#end() @@ -60,6 +61,9 @@ filetype plugin indent on " required " see :h vundle for more details or wiki for FAQ " Put your non-Plugin stuff after this line +" vim-gitgutter options +set updatetime=100 + " have indent guides enabled by default by vim-indent-guides plugin let g:indent_guides_enable_on_vim_startup = 1 let g:indent_guides_start_level = 2