all repos — nixfiles @ e57133d03169210ebd324ece3ff3eca89e3d2a15

System and user configuration, managed by nix and home-manager

Emacs: Enable and configure dired-omit-mode
Alan Pearce alan@alanpearce.co.uk
Fri, 06 Dec 2013 17:29:20 +0000
commit

e57133d03169210ebd324ece3ff3eca89e3d2a15

parent

da3a02f228071083fc953f8e4de9c211feb72ead

1 files changed, 4 insertions(+), 1 deletions(-)

jump to
M emacs/init.elemacs/init.el
@@ -354,7 +354,10 @@ (put 'dired-find-alternate-file 'disabled nil))) 
 (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