Emacs: Change keybindings for git-gutter.

This commit is contained in:
tastytea 2020-04-24 15:09:31 +02:00
parent 07c531324a
commit 9dfcb67310

View File

@ -72,8 +72,7 @@
;; Show VC status in fringe. ;; Show VC status in fringe.
(use-package git-gutter (use-package git-gutter
:diminish git-gutter-mode :diminish git-gutter-mode
:bind (("C-c G" . git-gutter-mode) :bind ("C-c G" . git-gutter:popup-hunk) ; Popup diff hunk.
("C-c M-G" . git-gutter:popup-hunk)) ; Popup diff hunk.
:hook (find-file . git-gutter-mode)) ; Maybe slows down opening? :hook (find-file . git-gutter-mode)) ; Maybe slows down opening?
(provide 'programming/git) (provide 'programming/git)