From 14500c0e2f90e9151a3c28fa26049a821abd2256 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 12 May 2015 09:44:45 +0200 Subject: Emacs: Fix “g” removing “k” info in dired buffers --- tag-emacs/emacs.d/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tag-emacs/emacs.d/init.el') 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) -- cgit 1.4.1