summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-10-18 22:45:14 -0400
committerKyle Meyer <kyle@kyleam.com>2016-10-18 22:45:14 -0400
commite06fb88e0fd1a56e5e239c8da63d514b2b7518b4 (patch)
tree8da62b9c610ad64f7577985b6742f6fc22bbe3b9
parent447863cedd6685ff585946a779398c02d63ae0d5 (diff)
downloademacs.d-e06fb88e0fd1a56e5e239c8da63d514b2b7518b4.tar.gz
Regroup some dired-mode-map bindings
-rw-r--r--init.el12
1 files changed, 5 insertions, 7 deletions
diff --git a/init.el b/init.el
index 504eb54..535ed67 100644
--- a/init.el
+++ b/init.el
@@ -1365,20 +1365,18 @@
(define-key km/dired-prefix-map "t" #'km/dired-copy-last-mtime-as-kill)
(after 'dired
- (define-key dired-mode-map "N" #'km/dired-touch-deref)
-
(bind-keys :map dired-mode-map
+ ;; This overrides `dired-find-file', which is also
+ ;; bound to "f".
+ ("e" . km/org-open-dired-marked-files)
;; This overrides the default binding for
;; `dired-copy-filename-as-kill'.
("w" . km/dired-copy-filename-map)
("C" . km/dired-copy-and-edit)
+ ("N" . km/dired-touch-deref)
("V" . km/dired-view-file-other-window)))
- (define-key ctl-x-4-map "D" #'km/dired-switch-to-buffer-other-window)
-
- (after 'org
- ;; This overrides `dired-find-file', which is also bound to "f".
- (define-key dired-mode-map "e" #'km/org-open-dired-marked-files)))
+ (define-key ctl-x-4-map "D" #'km/dired-switch-to-buffer-other-window))
(use-package dired-narrow
:defer t