summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2018-12-24 17:34:21 -0500
committerAmin Bandali <bandali@gnu.org>2018-12-24 18:08:44 -0500
commit197330785f9a001d49ad6afb33e2e69761fa3169 (patch)
tree0d04deae254120b6c482ea7b5e8054ff8717d993
parent5cbf910f810e708b712a0cb558e5bee96bb0ea12 (diff)
downloadconfigs-197330785f9a001d49ad6afb33e2e69761fa3169.tar.gz
configs-197330785f9a001d49ad6afb33e2e69761fa3169.tar.xz
configs-197330785f9a001d49ad6afb33e2e69761fa3169.zip
[emacs][wip] dired: add b for dired-up-directory
-rw-r--r--init.org2
1 files changed, 2 insertions, 0 deletions
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)