Emacs: Re-enabled git-gutter-mode.

It seems it is not responsible for the slowdown.
This commit is contained in:
tastytea 2020-04-23 20:14:20 +02:00
parent 7f69324780
commit 07c531324a

View File

@ -1,6 +1,6 @@
;;; git.el --- magit and stuff. -*- lexical-binding: t; -*- ;;; 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: ;;; Commentary:
@ -70,11 +70,11 @@
) ; unless slow-computer. ) ; unless slow-computer.
;; Show VC status in fringe. ;; Show VC status in fringe.
;; Not loading it automatically because it is slow.
(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-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) (provide 'programming/git)
;;; git.el ends here ;;; git.el ends here