From 7576787242f9a7834c6acd29657150d03f51f0d9 Mon Sep 17 00:00:00 2001 From: jdlugosz963 Date: Wed, 21 Sep 2022 23:05:13 +0200 Subject: Improve dired workflow --- .config/emacs/init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.config/emacs/init.el') diff --git a/.config/emacs/init.el b/.config/emacs/init.el index c33d57c..363c125 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -567,7 +567,9 @@ "p" 'dired-ranger-paste "X" 'dired-ranger-move "h" 'dired-up-directory - "l" 'dired-single-buffer)) + "l" 'dired-single-buffer + "q" 'kill-current-buffer) + (setq dired-kill-when-opening-new-dired-buffer t)) (use-package emms :config -- cgit v1.2.3