summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/init-dired.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/init-dired.el b/lisp/init-dired.el
index 9b401ff..9c52a36 100644
--- a/lisp/init-dired.el
+++ b/lisp/init-dired.el
@@ -45,7 +45,8 @@
(buffer-list)))
(define-key ctl-x-4-map "D" 'km/dired-switch-to-buffer-other-window)
-(global-set-key (kbd "C-x D") 'km/dired-switch-to-buffer)
+;; This overrides the binding for `list-directory'.
+(global-set-key (kbd "C-x C-d") 'km/dired-switch-to-buffer)
(defun km/org-open-dired-file ()
(interactive)