New answers tagged


Bind a key to dired-omit-mode (you may need to require dired-x first) and set dired-omit-files something like this: (setq dired-omit-files (rx (or (seq bol (? ".") "#") ;; emacs autosave files (seq bol "." (not (any "."))) ;; dot-files (seq "~" eol) ;; backup-files ...


What is your value of option dired-listing-switches (press M-: and type dired-listing-switches)? Customize it to use a value that does not list hidden files. In other words, this is about the switches you tell Dired to use with ls. You can also change the switches anytime, for a given Dired buffer, by invoking dired with a prefix arg (e.g. C-u). For example,...


Elaborating on the comments form @NickD there seems to be no separate way to configure the used ls command used used for TRAMP directories vs local directories. So the remaining option is to map the local gls for Emacs at least to ls and keep the default of insert-directory-program as "ls".


There is a user option, diredp-bind-problematic-terminal-keys, that has this effect: diredp-bind-problematic-terminal-keys is a variable defined in dired+.el. Its value is t Documentation: Non-nil means bind some keys that might not work in a text-only terminal. This applies to keys that use modifiers Meta and Shift together. If you use Emacs in text-only ...

Top 50 recent answers are included