Switch git-gutter for diff-hl
This commit is contained in:
parent
9ad45bc55b
commit
56c93c8dc6
|
@ -77,8 +77,7 @@
|
||||||
which-key
|
which-key
|
||||||
link-hint
|
link-hint
|
||||||
darkroom
|
darkroom
|
||||||
nlinum
|
diff-hl
|
||||||
git-gutter
|
|
||||||
|
|
||||||
# writing-packages
|
# writing-packages
|
||||||
markdown-mode
|
markdown-mode
|
||||||
|
|
|
@ -284,18 +284,11 @@
|
||||||
:ensure t
|
:ensure t
|
||||||
:config (zone-when-idle (* 60 60 2))) ; 2 hours
|
:config (zone-when-idle (* 60 60 2))) ; 2 hours
|
||||||
|
|
||||||
;; git-gutter needs obsolete `global-linum-mode', `nlinum' provides
|
(use-package diff-hl
|
||||||
;; this until updated
|
|
||||||
(use-package nlinum
|
|
||||||
:ensure t)
|
|
||||||
|
|
||||||
(use-package git-gutter
|
|
||||||
:ensure t
|
:ensure t
|
||||||
:after nlinum
|
:config (global-diff-hl-mode)
|
||||||
:config (global-git-gutter-mode +1)
|
|
||||||
:custom
|
:custom
|
||||||
(git-gutter:visual-line t)
|
(diff-hl-disable-on-remote t))
|
||||||
(git-gutter:update-interval 0.5))
|
|
||||||
|
|
||||||
(setq org-directory "~/Org"
|
(setq org-directory "~/Org"
|
||||||
org-default-notes-file (expand-file-name "notes.org" org-directory)
|
org-default-notes-file (expand-file-name "notes.org" org-directory)
|
||||||
|
|
|
@ -343,20 +343,13 @@
|
||||||
:config (zone-when-idle (* 60 60 2))) ; 2 hours
|
:config (zone-when-idle (* 60 60 2))) ; 2 hours
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Git-gutter
|
** Git status in fringe
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
;; git-gutter needs obsolete `global-linum-mode', `nlinum' provides
|
(use-package diff-hl
|
||||||
;; this until updated
|
|
||||||
(use-package nlinum
|
|
||||||
:ensure t)
|
|
||||||
|
|
||||||
(use-package git-gutter
|
|
||||||
:ensure t
|
:ensure t
|
||||||
:after nlinum
|
:config (global-diff-hl-mode)
|
||||||
:config (global-git-gutter-mode +1)
|
|
||||||
:custom
|
:custom
|
||||||
(git-gutter:visual-line t)
|
(diff-hl-disable-on-remote t))
|
||||||
(git-gutter:update-interval 0.5))
|
|
||||||
#+end_src
|
#+end_src
|
||||||
* Org-mode
|
* Org-mode
|
||||||
For reference information, see [[https://orgmode.com][Org-mode website]]
|
For reference information, see [[https://orgmode.com][Org-mode website]]
|
||||||
|
|
Loading…
Reference in a new issue