diff options
author | Franck Cuny <franck@fcuny.net> | 2024-08-30 17:55:32 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-08-30 17:55:32 -0700 |
commit | b73353dba56c220ee68feceb92cf15d3b17d6dfb (patch) | |
tree | c47a67fd964bd85f32293ae371cd759d6326e8f1 /config/init-base.el | |
parent | move a few more things to init-window.el (diff) | |
download | emacs.d-b73353dba56c220ee68feceb92cf15d3b17d6dfb.tar.gz |
a mix of stuff for denote / org / dired
Diffstat (limited to '')
-rw-r--r-- | config/init-base.el | 10 |
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) |