Skip to content

Commit

Permalink
Auto reload gitgutter when focus is gained.
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbetz committed May 19, 2016
1 parent 4f301b8 commit f02408b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,6 @@ let jshint2_height = 8

" Control P
let g:ctrlp_user_command = ['.git/', 'git --git-dir=%s/.git ls-files -oc --exclude-standard']

" Gitgutter
autocmd FocusGained * call gitgutter#all()

0 comments on commit f02408b

Please sign in to comment.