diff options
author | Alan Pearce | 2015-05-12 09:44:45 +0200 |
---|---|---|
committer | Alan Pearce | 2015-05-12 09:44:45 +0200 |
commit | 14500c0e2f90e9151a3c28fa26049a821abd2256 (patch) | |
tree | 0b941e89f7ede9cbd208a497d34c25e724b5079b /tag-emacs | |
parent | 3a91d166e451552cd93a9394effc893ba5de022c (diff) | |
download | dotfiles-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.el | 3 |
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) |