Emacs: Re-enable git-gutter but don't load it automatically.
It locks buffers for ~3 seconds.
This commit is contained in:
parent
7359c3e0d3
commit
68db8a72ec
|
@ -1,6 +1,6 @@
|
|||
;;; git.el --- magit and stuff. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-04-21T16:35:29+0200>
|
||||
;; Time-stamp: <2020-04-21T16:38:32+0200>
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
|
@ -70,10 +70,11 @@
|
|||
) ; unless slow-computer.
|
||||
|
||||
;; Show VC status in fringe.
|
||||
;; Not loading it automatically because it is slow.
|
||||
(use-package git-gutter
|
||||
:bind ("C-c G" . git-gutter:popup-hunk) ; Popup current diff hunk.
|
||||
:hook ((prog-mode . git-gutter-mode)
|
||||
(text-mode . git-gutter-mode)))
|
||||
:diminish git-gutter-mode
|
||||
:bind (("C-c G" . git-gutter-mode)
|
||||
("C-c M-G" . git-gutter:popup-hunk))) ; Popup diff hunk.
|
||||
|
||||
(provide 'programming/git)
|
||||
;;; git.el ends here
|
||||
|
|
Loading…
Reference in New Issue