(Emacs/config)+video formats to dired-guess-shell-alist-user

This commit is contained in:
2024-08-24 20:00:45 +01:00
parent b858986821
commit 982f09e559

View File

@@ -1707,7 +1707,11 @@ Here I setup dired with a few niceties
"m" #'dired-mark-files-regexp "m" #'dired-mark-files-regexp
"u" #'dired-undo) "u" #'dired-undo)
:config :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 () (defun +dired/insert-all-subdirectories ()
"Insert all subdirectories currently viewable." "Insert all subdirectories currently viewable."
(interactive) (interactive)