From 4ba7bbb9d3076051b96a85002198f069da8c7c9f Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 12 Sep 2020 09:19:09 +0200 Subject: [PATCH] Clean up configuration of dired-subtree Well, there wasn't any configuration for it right now, but the use-package statement was hidden in the config section of dired's. Moved it to the top-level right now and also bound dired-subtree-cycle. --- init.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 70801f6..dc0b29f 100644 --- a/init.el +++ b/init.el @@ -1803,7 +1803,8 @@ With given ARG, display files in `db/important-document-path’." ([remap beginning-of-buffer] . dired-back-to-top) ([remap end-of-buffer] . dired-jump-to-bottom) ("" . nil) - ("" . dired-subtree-toggle)) + ("" . dired-subtree-toggle) + ("" . dired-subtree-cycle)) :init (progn (setq dired-dwim-target t dired-listing-switches "-aGFhlv --group-directories-first --time-style=long-iso" @@ -1922,6 +1923,9 @@ With given ARG, display files in `db/important-document-path’." (use-package dired-subtree :commands (dired-subtree-toggle)))) +(use-package dired-subtree + :commands (dired-subtree-toggle)) + (use-package find-dired :commands (find-dired) :init (setq find-ls-option '("-print0 | xargs -0 ls -ld" . "-ld")))