diff --git a/init.d/programming/git.el b/init.d/programming/git.el index a7cec15..3035c10 100644 --- a/init.d/programming/git.el +++ b/init.d/programming/git.el @@ -1,6 +1,6 @@ ;;; git.el --- magit and stuff. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-04-21T23:40:38+0200> +;; Time-stamp: <2020-04-23T15:31:21+0200> ;;; Commentary: @@ -70,11 +70,11 @@ ) ; unless slow-computer. ;; Show VC status in fringe. -;; Not loading it automatically because it is slow. (use-package git-gutter :diminish git-gutter-mode :bind (("C-c G" . git-gutter-mode) - ("C-c M-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? (provide 'programming/git) ;;; git.el ends here