From 0de331cb9e228b0399dcfdcc023ca2212614bb8e Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 18 Apr 2020 16:19:57 +0200 Subject: [PATCH] Emacs: Add git-gutter. --- init.d/programming/git.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/init.d/programming/git.el b/init.d/programming/git.el index c4575b1..5a9466f 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-18T03:09:42+0200> +;; Time-stamp: <2020-04-18T16:15:18+0200> ;;; Commentary: @@ -65,5 +65,10 @@ ) ) ; unless slow-computer. +;; Show VC status in fringe. +(use-package git-gutter + :bind ("C-c G" . git-gutter:popup-hunk) ; Popup current diff hunk. + :hook (prog-mode . git-gutter-mode)) + (provide 'programming/git) ;;; git.el ends here