Switch git-gutter for diff-hl

This commit is contained in:
Evie Litherland-Smith 2023-12-08 15:15:21 +00:00
parent 9ad45bc55b
commit 56c93c8dc6
3 changed files with 8 additions and 23 deletions

View file

@ -77,8 +77,7 @@
which-key
link-hint
darkroom
nlinum
git-gutter
diff-hl
# writing-packages
markdown-mode

View file

@ -284,18 +284,11 @@
:ensure t
:config (zone-when-idle (* 60 60 2))) ; 2 hours
;; git-gutter needs obsolete `global-linum-mode', `nlinum' provides
;; this until updated
(use-package nlinum
:ensure t)
(use-package git-gutter
(use-package diff-hl
:ensure t
:after nlinum
:config (global-git-gutter-mode +1)
:config (global-diff-hl-mode)
:custom
(git-gutter:visual-line t)
(git-gutter:update-interval 0.5))
(diff-hl-disable-on-remote t))
(setq org-directory "~/Org"
org-default-notes-file (expand-file-name "notes.org" org-directory)

View file

@ -343,20 +343,13 @@
:config (zone-when-idle (* 60 60 2))) ; 2 hours
#+end_src
** Git-gutter
** Git status in fringe
#+begin_src emacs-lisp
;; git-gutter needs obsolete `global-linum-mode', `nlinum' provides
;; this until updated
(use-package nlinum
:ensure t)
(use-package git-gutter
(use-package diff-hl
:ensure t
:after nlinum
:config (global-git-gutter-mode +1)
:config (global-diff-hl-mode)
:custom
(git-gutter:visual-line t)
(git-gutter:update-interval 0.5))
(diff-hl-disable-on-remote t))
#+end_src
* Org-mode
For reference information, see [[https://orgmode.com][Org-mode website]]