u/Cuffdchjgfv

How do I configure Dired so that it standardly hides details?

I'm new to Emacs, so bear with me here. So I have been looking for a way to configure Doom Emacs in such a way that, if I use C-x C-f to open a directory, it shows me a one column-list instead of all these unnecessary details. I know I can toggle with '(' but I want it standardly to open that way.

After reading, I figured that I need to add some line to my configuration files. Different websites give different ways that one can accomplish this. One suggests: (defun my-dired-mode-setup () "show less information in dired buffers" (dired-hide-details-mode 1)) (add-hook 'dired-mode-hook 'my-dired-mode-setup).

But where do I put this? I have lots of config files

~/.config/emacs/modules/emacs/dired/config.el

~/.config/doom/config.el

~/.config/doom/init.el

~/

I've tried putting these lines in the various config/init files, but with no luck so far. Can anyone point me in the right direction?

reddit.com
u/Cuffdchjgfv — 18 days ago