From: Amin Bandali Date: Mon, 24 Dec 2018 22:34:21 +0000 (-0500) Subject: [emacs][wip] dired: add b for dired-up-directory X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/commitdiff_plain/197330785f9a001d49ad6afb33e2e69761fa3169?ds=inline;hp=5cbf910f810e708b712a0cb558e5bee96bb0ea12 [emacs][wip] dired: add b for dired-up-directory --- diff --git a/init.org b/init.org index 11f45a3..9acbd33 100644 --- a/init.org +++ b/init.org @@ -1184,6 +1184,7 @@ There's no way I could top that, so I won't attempt to. ;; https://oremacs.com/2017/03/18/dired-ediff/ (defun dired-ediff-files () (interactive) + (require 'dired-aux) (defvar ediff-after-quit-hook-internal) (let ((files (dired-get-marked-files)) (wnd (current-window-configuration))) @@ -1203,6 +1204,7 @@ There's no way I could top that, so I won't attempt to. (set-window-configuration wnd)))) (error "no more than 2 files should be marked")))) :bind (:map dired-mode-map + ("b" . dired-up-directory) ("e" . dired-ediff-files) ("E" . dired-toggle-read-only) ("\\" . dired-hide-details-mode)