From 28013393f89b0c38b84bbd867503963fe0838eb6 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Wed, 3 Jun 2020 16:51:55 -0400 Subject: [PATCH] Explicitly configure dired-subtree --- emacs/init.org | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/emacs/init.org b/emacs/init.org index b86b8c5..dc391aa 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -4581,6 +4581,15 @@ Or Gnus can read RSS feeds directly: #+END_SRC * Dired +** Dired subtree +#+BEGIN_SRC emacs-lisp + (use-package dired-subtree + :general + (normal dired-mode-map "TAB" 'dired-subtree-toggle) + :config + (advice-add 'dired-subtree-toggle :after (lambda () (revert-buffer)))) +#+END_SRC + ** Dired sidebar #+BEGIN_SRC emacs-lisp (use-package dired-sidebar