summary refs log tree commit diff
path: root/emacs.d/custom
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2020-05-08 11:09:58 -0700
committerFranck Cuny <franck.cuny@gmail.com>2020-05-08 11:09:58 -0700
commit2544dd8db3fc1a139643b328f36f00de47ab1cde (patch)
treef68d1217c2424a7c74d8032ff994d1cde9a9673f /emacs.d/custom
parent[emacs] treat PROJECT files as YAML (diff)
downloademacs.d-2544dd8db3fc1a139643b328f36f00de47ab1cde.tar.gz
[emacs] show git info in dired-mode
When a directory, pressing ')' reveals git information.
Diffstat (limited to 'emacs.d/custom')
-rw-r--r--emacs.d/custom/fcuny-navigation.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs.d/custom/fcuny-navigation.el b/emacs.d/custom/fcuny-navigation.el
index f51e99c..871b411 100644
--- a/emacs.d/custom/fcuny-navigation.el
+++ b/emacs.d/custom/fcuny-navigation.el
@@ -56,6 +56,11 @@
   (setq dired-recursive-deletes 'always)
   (setq dired-recursive-copies 'always))
 
+(use-package dired-git-info
+  :ensure t
+  :bind (:map dired-mode-map
+              (")" . dired-git-info-mode)))
+
 (use-package dired-x
   :ensure nil
   :config