summary refs log tree commit diff stats
path: root/emacs/init.el
diff options
context:
space:
mode:
authorAlan Pearce2013-12-06 17:29:20 +0000
committerAlan Pearce2013-12-06 17:29:20 +0000
commite57133d03169210ebd324ece3ff3eca89e3d2a15 (patch)
tree120c473f830b60fc30b59c63936a322bad9a3d6c /emacs/init.el
parentda3a02f228071083fc953f8e4de9c211feb72ead (diff)
downloadnixfiles-e57133d03169210ebd324ece3ff3eca89e3d2a15.tar.lz
nixfiles-e57133d03169210ebd324ece3ff3eca89e3d2a15.tar.zst
nixfiles-e57133d03169210ebd324ece3ff3eca89e3d2a15.zip
Emacs: Enable and configure dired-omit-mode
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 72f1e4db..9a4ddb3f 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -354,7 +354,10 @@ Values: `desktop', `server', `laptop'")
 
 (use-package dired+
   :ensure t
-  :config (diredp-toggle-find-file-reuse-dir 1))
+  :config (progn
+            (diredp-toggle-find-file-reuse-dir 1)
+            (dired-omit-mode 1)
+            (setq dired-omit-files "#\\|\\.$")))
 
 ;;;; Documentation