From 982f09e559cde31d3978e68929f3341f59bfa8d0 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sat, 24 Aug 2024 20:00:45 +0100 Subject: (Emacs/config)+video formats to dired-guess-shell-alist-user --- Emacs/.config/emacs/config.org | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Emacs/.config') diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index a6e4c5f..29d5bbe 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -1707,7 +1707,11 @@ Here I setup dired with a few niceties "m" #'dired-mark-files-regexp "u" #'dired-undo) :config - (add-to-list 'dired-guess-shell-alist-user '("\\.pdf\\'" "zathura")) + (add-multiple-to-list dired-guess-shell-alist-user + '("\\.pdf\\'" "zathura") + '("\\.webm\\'" "mpv") + '("\\.mp[34]\\'" "mpv") + '("\\.mkv\\'" "mpv")) (defun +dired/insert-all-subdirectories () "Insert all subdirectories currently viewable." (interactive) -- cgit v1.2.3-13-gbd6f