Skip to content

mattiasb/dired-hide-dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dired Hide Dotfiles

This package is deprecated but can rather easily be replaced by dired-omit-mode like this:

(use-package dired
  :hook (dired-mode . dired-omit-mode))
  :bind (:map dired-mode-map
          ( "."     . dired-omit-mode))
  :custom (dired-omit-files (rx (seq bol ".")))

Also see #8.


Old README

Hide dotfiles in dired.

Installation

Via Melpa:

M-x package-install dired-hide-dotfiles

Manually:

  1. Clone this repo somewhere
  2. Run package-install-file and choose the dired-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)

About

[Deprecated]. Hide dotfiles in dired.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published