Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This package can now be replaced by dired-omit-mode #8

Open
ai-oleynikov opened this issue Sep 24, 2023 · 2 comments
Open

This package can now be replaced by dired-omit-mode #8

ai-oleynikov opened this issue Sep 24, 2023 · 2 comments

Comments

@ai-oleynikov
Copy link

(use-package dired
  :bind
  (:map dired-mode-map ("." . dired-omit-mode))
  :config
  (setq dired-omit-files (rx (seq bol ".")))
  ;; To hide dot-files by default
  :hook
  (dired-mode . dired-omit-mode))
@pprevos
Copy link

pprevos commented Jan 30, 2024

You need to activate dired-x first:

(use-package dired
  :ensure nil
  :bind
  (:map dired-mode-map ("." . dired-omit-mode))
  :custom
  (dired-omit-files (rx (seq bol ".")))
  :hook
  (dired-mode . dired-omit-mode)
  :init
  (with-eval-after-load 'dired (require 'dired-x)))

mattiasb added a commit to mattiasb/.emacs.d that referenced this issue Jan 30, 2024
@mattiasb
Copy link
Owner

Sorry had missed this. I actually switched to using dired-omit-mode with this regex now. Thanks!

@mattiasb mattiasb pinned this issue Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants