summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2023-07-25 04:38:54 +0100
committerjao <jao@gnu.org>2023-07-25 04:38:54 +0100
commitf82495d2c78b2829b6b73d2b01050bea6bd38c7e (patch)
tree2c7a401af013968c4d55008c95f4732c02687a69
parent36903f998f82f79c2aabdbaf666036a63e9b5e16 (diff)
downloadelibs-f82495d2c78b2829b6b73d2b01050bea6bd38c7e.tar.gz
elibs-f82495d2c78b2829b6b73d2b01050bea6bd38c7e.tar.bz2
dired nits
-rw-r--r--init.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/init.el b/init.el
index 1c1405a..54e5dc6 100644
--- a/init.el
+++ b/init.el
@@ -683,7 +683,11 @@
dired-dwim-target t
dired-kill-when-opening-new-dired-buffer t
dired-mouse-drag-files t
- wdired-create-parent-directories t)
+ wdired-create-parent-directories t
+ dired-guess-shell-alist-user
+ '(;; ("\\.\\(png\\|jpe?g\\|tiff\\)" "feh" "xdg-open")
+ ("\\.\\(mp[34]\\|m4a\\|ogg\\|flac\\|webm\\|mkv\\)" "mpv" "xdg-open")
+ (".*" "xdg-open")))
(put 'dired-find-alternate-file 'disabled nil)
:hook (dired-mode . turn-on-gnus-dired-mode)