diff options
author | Kyle Meyer <kyle@kyleam.com> | 2016-10-18 22:45:14 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2016-10-18 22:45:14 -0400 |
commit | e06fb88e0fd1a56e5e239c8da63d514b2b7518b4 (patch) | |
tree | 8da62b9c610ad64f7577985b6742f6fc22bbe3b9 | |
parent | 447863cedd6685ff585946a779398c02d63ae0d5 (diff) | |
download | emacs.d-e06fb88e0fd1a56e5e239c8da63d514b2b7518b4.tar.gz |
Regroup some dired-mode-map bindings
-rw-r--r-- | init.el | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -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 |