diff options
author | Raúl Benencia <id@rbenencia.name> | 2024-10-22 07:58:18 -0700 |
---|---|---|
committer | Raúl Benencia <id@rbenencia.name> | 2024-10-22 07:58:18 -0700 |
commit | 70badad576856ff1ea34468ef60149c7c07b81cf (patch) | |
tree | e9d9e4edb1d27a80a25f30e0c110c557e026af63 | |
parent | 0364e3b2df081a06aff39691e98a1c9dbf9cba4d (diff) |
emacs: tame dired buffers
-rw-r--r-- | .emacs.d/init.el | 4 |
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 |