diff options
Diffstat (limited to 'tag-emacs/emacs.d')
-rw-r--r-- | tag-emacs/emacs.d/init.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 16bfb9f2..32f273f2 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -296,6 +296,13 @@ (setq insert-directory-program (executable-find "gls"))) (put 'dired-find-alternate-file 'disabled nil))) +(req-package dired-k + :init (progn + (defun ap/dired-k-if-vc () + (when (projectile-project-root) + (dired-k))) + (add-hook 'dired-initial-position-hook #'ap/dired-k-if-vc))) + (req-package dired-x :require dired) |