aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Benencia <id@rbenencia.name>2024-10-22 07:58:18 -0700
committerRaúl Benencia <id@rbenencia.name>2024-10-22 07:58:18 -0700
commit70badad576856ff1ea34468ef60149c7c07b81cf (patch)
treee9d9e4edb1d27a80a25f30e0c110c557e026af63
parent0364e3b2df081a06aff39691e98a1c9dbf9cba4d (diff)
emacs: tame dired buffers
-rw-r--r--.emacs.d/init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 2c66b81..6b4e0de 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -147,7 +147,7 @@
:ensure t
:config
- (setq dired-preview-delay 0.3)
+ (setq dired-preview-delay 0.5)
(setq dired-preview-max-size (expt 2 20))
(setq dired-preview-ignored-extensions-regexp
(concat "\\."
@@ -164,6 +164,8 @@
("\\.\\(mp[34]\\|m4a\\|ogg\\|flac\\|webm\\|mkv\\)" "mpv" "xdg-open")
(".*" "xdg-open")))
+(setq dired-kill-when-opening-new-dired-buffer t)
+
;;; Icons
(use-package nerd-icons :ensure t )
(use-package nerd-icons-dired :ensure t
nihil fit ex nihilo