I want to show a directory in Dired with some sub-directories opened recursively (as if I passed "R" option for them). Is it possible to do this in Emacs? Any ideas how to implement this easily in Elisp?
In windows explorer I would press '*' in folders window to open a directory recursively (of course only sub-directories are visible, not files). I want the same thing in Emacs, but that files are visible too.
Prefix dired-maybe-insert-subdir
command (bound to i
in dired-mode) with C-u
to add recursive -R
option for ls
to insert directory recursively.
C-u i
.. R
.. <RET>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With