From cadc9736f849104f92927b68f593534e3b03a119 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sun, 18 Oct 2009 00:52:25 +0100 Subject: [PATCH] dot/emacs: Make C-x C-q do editable-Dired. Apparently this is built into later Emacsen. It seems sane. --- dot/emacs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dot/emacs b/dot/emacs index fe5b563..c9884ce 100644 --- a/dot/emacs +++ b/dot/emacs @@ -428,6 +428,11 @@ (and (not mdw-fast-startup) (fboundp 'hippie-expand) (global-set-key [?\M-/] 'hippie-expand)) +(eval-after-load "dired" + '(progn + (define-key dired-mode-map [?\C-x ?\C-q] + 'wdired-change-to-wdired-mode))) + (add-hook 'org-mode-hook #'(lambda () (mdw-clobber-evil-keymap org-mode-map))) (add-hook 'org-agenda-mode-hook -- 2.11.0