Added bindings to move between git gutter hunks and to allow staging

This commit is contained in:
Rich Alesi 2014-12-21 22:08:41 -07:00 committed by syl20bnr
parent 1e88918cd0
commit c0df3f0b3f

View file

@ -67,6 +67,11 @@ implementation."
(setq git-gutter:hide-gutter t)
;; Don't need log/message.
(setq git-gutter:verbosity 0)
(evil-leader/set-key
"ga" 'git-gutter:stage-hunk
"gr" 'git-gutter:revert-hunk
"gk" 'git-gutter:previous-hunk
"gj" 'git-gutter:next-hunk)
(setq git-gutter-fr:side 'right-fringe)
;; (setq git-gutter:update-hooks '(after-save-hook after-revert-hook))
;; custom graphics that works nice with half-width fringes