all repos — nixfiles @ 39d1a66d385601915243e964843d07895eb4113d

System and user configuration, managed by nix and home-manager

Emacs: enable dired-git-info, bound to )

Looks like the directory viewer on a VCS website
Alan Pearce alan@alanpearce.eu
Mon, 07 Oct 2019 18:13:54 +0200
commit

39d1a66d385601915243e964843d07895eb4113d

parent

6c8b1d4a5df461002aca8a68e9c222d40e264529

2 files changed, 6 insertions(+), 0 deletions(-)

jump to
M user/emacs/.emacs.d/main.eluser/emacs/.emacs.d/main.el
@@ -534,6 +534,11 @@ (add-hook 'dired-mode-hook           (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
M user/modules/emacs.nixuser/modules/emacs.nix
@@ -56,6 +56,7 @@ counsel-projectile       crux
       docker-compose-mode
       dockerfile-mode
+      dired-git-info
       editorconfig
       eink-theme
       eldoc-box