Add key bindings to git-gutter’ previous/next hunk commands

This commit is contained in:
Gergely Polonkai 2016-12-19 11:18:01 +01:00
parent 4aec887daa
commit ab8080c03d
1 changed files with 3 additions and 1 deletions

View File

@ -326,7 +326,9 @@
(global-git-gutter-mode t)
:bind
(:map gpolonkai/pers-map
("gg" . git-gutter:update-all-windows)))))
("gg" . git-gutter:update-all-windows)
("gn" . git-gutter:next-hunk)
("gp" . git-gutter:previous-hunk)))))
;; From gmane.emacs.orgmode
;; (http://article.gmane.org/gmane.emacs.orgmode/75222)