summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d
diff options
context:
space:
mode:
Diffstat (limited to 'tag-emacs/emacs.d')
-rw-r--r--tag-emacs/emacs.d/init.org15
1 files changed, 2 insertions, 13 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 4c197219..a1417bb8 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -473,6 +473,8 @@ changed.  This package colours the fringe
     :defer 2
     :config (progn
               (global-diff-hl-mode 1)
+              (add-hook 'dired-mode-hook (lambda ()
+                                           (diff-hl-dired-mode 1)))
               (add-hook 'magit-post-refresh-hook #'diff-hl-magit-post-refresh)))
 #+END_SRC
 
@@ -1069,19 +1071,6 @@ copying/moving files between them.
             (put 'dired-find-alternate-file 'disabled nil)))
 #+END_SRC
 
-I work with a lot of git projects.  Dired-k adds colours based upon
-the file’s git status.
-#+BEGIN_SRC emacs-lisp
-  (use-package dired-k
-    :defer 5
-    :init (progn
-            (add-hook 'dired-initial-position-hook #'dired-k))
-    :config (progn
-              (setq dired-k-human-readable t)
-              (bind-key "g" #'dired-k dired-mode-map)))
-#+END_SRC
-
-
 Don’t show uninteresting files in dired listings.
 
 #+BEGIN_SRC emacs-lisp