diff options
| author | Ravi R Kiran <aine.marina@gmail.com> | 2016-06-24 03:18:13 (GMT) |
|---|---|---|
| committer | Ravi R Kiran <aine.marina@gmail.com> | 2016-06-24 03:18:13 (GMT) |
| commit | 21bbae4fd434b8781f29e261684737804c864b32 (patch) | |
| tree | d6fa49c664cb577363f3a1dd30330bd83329d8cf /lisp | |
| parent | ac1994b920ebfafc323fcf3d2855142a94d43e6a (diff) | |
| download | dotemacs-21bbae4fd434b8781f29e261684737804c864b32.zip dotemacs-21bbae4fd434b8781f29e261684737804c864b32.tar.gz dotemacs-21bbae4fd434b8781f29e261684737804c864b32.tar.bz2 | |
Replace git-gutter with much nicer diff-hl
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ravi-init-vc.el | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/lisp/ravi-init-vc.el b/lisp/ravi-init-vc.el index a28a75a..9118193 100644 --- a/lisp/ravi-init-vc.el +++ b/lisp/ravi-init-vc.el @@ -39,22 +39,13 @@ 'magit-ido-completing-read)) (setq magit-restore-window-configuration t) + (add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh) (use-package magit-svn :config (add-hook 'magit-mode-hook 'magit-svn-mode) :ensure t) ) :ensure t) -(use-package git-gutter - :config - (progn - (use-package git-gutter-fringe - :ensure t) - (global-git-gutter-mode 1) - ) - :ensure t - :diminish git-gutter-mode - ) (use-package gitignore-mode :ensure t) (use-package gitconfig-mode @@ -68,6 +59,11 @@ (use-package vc-git :bind ("C-x v f" . vc-git-grep)) +(use-package diff-hl + :config + (global-diff-hl-mode) + :ensure t) + ;; Stolen almost entirely from Fuco (Matus Goljer) (use-package ediff :config |
