emacs: fix dired-subtree

This commit is contained in:
2020-07-11 16:32:44 -07:00
parent da62572de7
commit 836cf1b841

View File

@@ -210,16 +210,17 @@ When doing compilation, always jump to the first error to reduce development cyc
nice for pinning a dired buffer to the side to use as a file browser. nice for pinning a dired buffer to the side to use as a file browser.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package dired-tree) (use-package dired-subtree)
#+END_SRC #+END_SRC
=dired= is great, but too detailed by default. Disable =dired= is great, but too detailed by default. Disable
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package dired (use-package dired
:ensure nil
:hook ((dired . dired-hide-details-mode) :hook ((dired . dired-hide-details-mode)
(dired . (lambda (toggle-truncate-lines t)))) (dired . (lambda (toggle-truncate-lines t))))
:bind ("<TAB>" . dired-subtree-toggle)) :bind ([?\t] . dired-subtree-toggle))
#+END_SRC #+END_SRC
*** Git (=magit=) *** Git (=magit=)