[emacs] Add openwith so I can add mp3s to org
This commit is contained in:
@ -475,3 +475,21 @@ Here we are trying to auto-translate Word and PDF files to be viewed in Emacs.
|
||||
|
||||
(setq lsp-enable-links nil)
|
||||
#+END_SRC
|
||||
* Openwith
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(when (require 'openwith nil 'noerror)
|
||||
(setq openwith-associations
|
||||
(list
|
||||
(list (openwith-make-extension-regexp
|
||||
'("mpg" "mpeg" "mp3" "mp4"
|
||||
"avi" "wmv" "wav" "mov" "flv"
|
||||
"ogm" "ogg" "mkv"))
|
||||
"vlc"
|
||||
'(file))
|
||||
(list (openwith-make-extension-regexp
|
||||
'("pdf" "ps" "ps.gz" "dvi"))
|
||||
"zathura"
|
||||
'(file))
|
||||
))
|
||||
(openwith-mode 1))
|
||||
#+END_SRC
|
||||
|
||||
Reference in New Issue
Block a user