[dired] add support for hiding dotfiles and hide details by default
This commit is contained in:
parent
5660d7ba6b
commit
9d55e75bd8
2 changed files with 22 additions and 0 deletions
|
@ -45,6 +45,11 @@ only variant that supports --group-directories-first."
|
|||
"--group-directories-first")
|
||||
" ")))))
|
||||
|
||||
;; hide details by default
|
||||
(add-hook 'dired-mode-hook 'dired-hide-details-mode)
|
||||
;; hide dotfiles by default
|
||||
(add-hook 'dired-after-readin-hook '+dired/dotfiles-hide)
|
||||
|
||||
;; Don't complain about this command being disabled when we use it
|
||||
(put 'dired-find-alternate-file 'disabled nil)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue