summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2015-05-12 09:44:45 +0200
committerAlan Pearce2015-05-12 09:44:45 +0200
commit14500c0e2f90e9151a3c28fa26049a821abd2256 (patch)
tree0b941e89f7ede9cbd208a497d34c25e724b5079b /tag-emacs
parent3a91d166e451552cd93a9394effc893ba5de022c (diff)
downloaddotfiles-14500c0e2f90e9151a3c28fa26049a821abd2256.tar.lz
dotfiles-14500c0e2f90e9151a3c28fa26049a821abd2256.tar.zst
dotfiles-14500c0e2f90e9151a3c28fa26049a821abd2256.zip
Emacs: Fix “g” removing “k” info in dired buffers
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 728047f..cf1ce9b 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -299,7 +299,8 @@
           (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)