blob: 341d772e29f8b8c9baffbb40d978a5127aeb2340 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
(put 'dired-find-alternate-file 'disabled nil)
(require 'dired-x)
;; .git is present as part of `dired-omit-extensions', but this
;; seems to only be taken into account if the a non-exension part
;; exists.
(setq dired-omit-files
(concat dired-omit-files "\\|\\.git$\\|\\.gitignore$\\|__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-mode t)
(setq dired-listing-switches "-alh")
(setq dired-guess-shell-alist-user
'(("\\.pdf\\'" "zathura")))
(provide 'init-dired)
|