summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init/km-dired.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/init/km-dired.el b/init/km-dired.el
index 30feff2..bfbeafa 100644
--- a/init/km-dired.el
+++ b/init/km-dired.el
@@ -7,6 +7,18 @@
;; exists
(setq dired-omit-files (concat dired-omit-files "\\|\\.git$\\|__pycache__"))
+(defvar km/latex-omit-extensions '(".aux"
+ ".fdb_latexmk"
+ ".fls"
+ ".log"
+ ".nav"
+ ".out"
+ ".snm")
+ "Intermediate LaTeX files")
+
+(setq dired-omit-extensions
+ (append dired-omit-extensions km/latex-omit-extensions))
+
(setq-default dired-omit-files-p t)
(setq dired-listing-switches "-alh")