summaryrefslogtreecommitdiff
path: root/config/init-base.el
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config/init-base.el10
1 files changed, 4 insertions, 6 deletions
diff --git a/config/init-base.el b/config/init-base.el
index 9f9e596..d2c83cd 100644
--- a/config/init-base.el
+++ b/config/init-base.el
@@ -102,9 +102,11 @@
(use-package dired
:ensure nil
:defer t
- :config
- (setq dired-omit-files "^__pycache__$")
+ :hook (dired-mode . dired-omit-mode)
+ :bind (:map dired-mode-map
+ ( "." . dired-omit-mode))
:custom
+ (dired-omit-files (rx (seq bol ".")))
(dired-use-ls-dired t)
(insert-directory-program "/etc/profiles/per-user/fcuny/bin/ls")
(dired-clean-up-buffers-too nil)
@@ -116,10 +118,6 @@
(dired-no-confirm
'(byte-compile chgrp chmod chown copy hardlink symlink touch)))
-(use-package dired-x
- :after dired
- :hook ((dired-mode . dired-omit-mode)))
-
(defun my/rename-this-buffer-and-file ()
"Renames current buffer and file it is visiting."
(interactive)