From 197330785f9a001d49ad6afb33e2e69761fa3169 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Mon, 24 Dec 2018 17:34:21 -0500 Subject: [PATCH 1/1] [emacs][wip] dired: add b for dired-up-directory --- init.org | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.20.1