dired-hide-dotfiles
dired-hide-dotfiles copied to clipboard
Hide dotfiles in dired.
Dired Hide Dotfiles
Hide dotfiles in dired.
Installation
Via Melpa:
M-x package-install dired-hide-dotfiles
Manually:
- Clone this repo somewhere
- Run
package-install-file
and choose thedired-hide-dotfiles.el
file.
Activation
To activate this mode add something like this to your init.el:
(defun my-dired-mode-hook ()
"My `dired' mode hook."
;; To hide dot-files by default
(dired-hide-dotfiles-mode))
;; To toggle hiding
(define-key dired-mode-map "." #'dired-hide-dotfiles-mode)
(add-hook 'dired-mode-hook #'my-dired-mode-hook)