all repos — nixfiles @ 14500c0e2f90e9151a3c28fa26049a821abd2256

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

Emacs: Fix “g” removing “k” info in dired buffers
Alan Pearce alan.pearce@spotcap.com
Tue, 12 May 2015 09:44:45 +0200
commit

14500c0e2f90e9151a3c28fa26049a821abd2256

parent

3a91d166e451552cd93a9394effc893ba5de022c

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -299,7 +299,8 @@ :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)))
+          (add-hook 'dired-initial-position-hook #'ap/dired-k-if-vc)
+          (bind-key "g" #'dired-k dired-mode-map)))
 
 (req-package dired-x
   :require dired)