diff options
author | Franck Cuny <fcuny@twitter.com> | 2019-04-18 17:10:00 -0700 |
---|---|---|
committer | Franck Cuny <fcuny@twitter.com> | 2019-04-18 17:10:00 -0700 |
commit | f7530b4a3c24fd90209758c6d22bc5b3ec1319c3 (patch) | |
tree | b98581f7fc142edb04091fa4da042e79000cddcc /emacs.d/custom | |
parent | [scripts] Add a directory for scripts. (diff) | |
download | emacs.d-f7530b4a3c24fd90209758c6d22bc5b3ec1319c3.tar.gz |
[emacs] Ignore some files with dired.
Diffstat (limited to 'emacs.d/custom')
-rw-r--r-- | emacs.d/custom/fcuny-navigation.el | 11 |
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)) |