emacs/dired: expand dired-omit-files
This commit is contained in:
parent
2478271583
commit
5783fe5e7e
1 changed files with 9 additions and 1 deletions
|
@ -115,7 +115,15 @@ we have to clean it up ourselves."
|
||||||
:unless (featurep! +ranger)
|
:unless (featurep! +ranger)
|
||||||
:hook (dired-mode . dired-omit-mode)
|
:hook (dired-mode . dired-omit-mode)
|
||||||
:config
|
:config
|
||||||
(setq dired-omit-verbose nil)
|
(setq dired-omit-verbose nil
|
||||||
|
dired-omit-files
|
||||||
|
(concat dired-omit-files
|
||||||
|
"\\|^.DS_Store\\'"
|
||||||
|
"\\|^.project\\(?:ile\\)?\\'"
|
||||||
|
"\\|^.\\(svn\\|git\\)\\'"
|
||||||
|
"\\|^.ccls-cache\\'"
|
||||||
|
"\\|\\(?:\\.js\\)?\\.meta\\'"
|
||||||
|
"\\|\\.\\(?:elc\\|o\\|pyo\\|swp\\|class\\)\\'"))
|
||||||
;; Disable the prompt about whether I want to kill the Dired buffer for a
|
;; Disable the prompt about whether I want to kill the Dired buffer for a
|
||||||
;; deleted directory. Of course I do!
|
;; deleted directory. Of course I do!
|
||||||
(setq dired-clean-confirm-killing-deleted-buffers nil))
|
(setq dired-clean-confirm-killing-deleted-buffers nil))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue