summary refs log tree commit diff
path: root/emacs.d/custom/fcuny-navigation.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/custom/fcuny-navigation.el')
-rw-r--r--emacs.d/custom/fcuny-navigation.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/emacs.d/custom/fcuny-navigation.el b/emacs.d/custom/fcuny-navigation.el
index bf55994..18ad2de 100644
--- a/emacs.d/custom/fcuny-navigation.el
+++ b/emacs.d/custom/fcuny-navigation.el
@@ -55,6 +55,17 @@
   (let ((gls (executable-find "/opt/twitter/bin/gls")))
     (when gls (setq insert-directory-program gls))))
 
+(use-package dired-x
+  :ensure nil
+  :config
+  (progn
+    (setq dired-omit-verbose nil)
+    ;; hide backup, autosave, *.*~ files
+    ;; omit mode can be toggled using `C-x M-o' in dired buffer.
+    (add-hook 'dired-mode-hook #'dired-omit-mode)
+    (setq dired-omit-files
+          (concat dired-omit-files "\\|^.DS_STORE$\\|^.localized$\\|^.projectile$\\|^.git$"))))
+
 (use-package ibuffer
   :bind ("C-x C-b" . ibuffer))