summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2019-10-07 18:13:54 +0200
committerAlan Pearce2019-10-07 18:13:54 +0200
commit39d1a66d385601915243e964843d07895eb4113d (patch)
treeea5afe2df3e93d107220005b717231a8f773e25b /user/emacs
parent6c8b1d4a5df461002aca8a68e9c222d40e264529 (diff)
downloadnixfiles-39d1a66d385601915243e964843d07895eb4113d.tar.lz
nixfiles-39d1a66d385601915243e964843d07895eb4113d.tar.zst
nixfiles-39d1a66d385601915243e964843d07895eb4113d.zip
Emacs: enable dired-git-info, bound to )
Looks like the directory viewer on a VCS website
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/.emacs.d/main.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/user/emacs/.emacs.d/main.el b/user/emacs/.emacs.d/main.el
index 2f6916dd..1aa128bc 100644
--- a/user/emacs/.emacs.d/main.el
+++ b/user/emacs/.emacs.d/main.el
@@ -534,6 +534,11 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
           (lambda ()
             (dired-hide-details-mode)))
 
+(use-package dired-git-info
+  :general (:keymaps 'dired-mode-map
+                     :states 'normal
+                     ")" #'dired-git-info-mode))
+
 ;;; Shells
 
 (use-package eshell