aboutsummaryrefslogtreecommitdiff
path: root/Emacs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-08-24 20:00:45 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-08-24 20:00:45 +0100
commit982f09e559cde31d3978e68929f3341f59bfa8d0 (patch)
tree1f0b276daa13c6a862fd40254d12f2fc0a5e36d6 /Emacs
parentb8589868213a79b9b3f4fc575ccafc9d5c84fa3e (diff)
downloaddotfiles-982f09e559cde31d3978e68929f3341f59bfa8d0.tar.gz
dotfiles-982f09e559cde31d3978e68929f3341f59bfa8d0.tar.bz2
dotfiles-982f09e559cde31d3978e68929f3341f59bfa8d0.zip
(Emacs/config)+video formats to dired-guess-shell-alist-user
Diffstat (limited to 'Emacs')
-rw-r--r--Emacs/.config/emacs/config.org6
1 files changed, 5 insertions, 1 deletions
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)