Adjust dired keybinding
authorJoerg Jaspert <joerg.jaspert@dlh.de>
Fri, 30 Sep 2016 11:49:07 +0000 (13:49 +0200)
committerJoerg Jaspert <joerg.jaspert@dlh.de>
Fri, 30 Sep 2016 11:49:07 +0000 (13:49 +0200)
.emacs.d/config/emacs.org

index 7f86fcd..efd22f4 100644 (file)
@@ -1120,6 +1120,8 @@ movement keys.
   :commands (dired dired-other-window dired-other-frame dired-noselect
                    dired-mode dired-jump)
   :defines (dired-omit-regexp-orig)
+  :bind (:map dired-mode-map
+              ("F" . find-name-dired))
   :init
   (progn
     (setq diredp-hide-details-initially-flag nil))
@@ -1141,8 +1143,6 @@ movement keys.
             ("\\.\\(?:mp4\\|mkv\\|avi\\|flv\\|ogv\\)\\(?:\\.part\\)?\\'" "vlc")
             ("\\.html?\\'" "conkeror")))
 
-    (bind-key "F" 'find-name-dired dired-mode-map)
-
     (use-package dired+
       :ensure dired+)