Skip to content
Snippets Groups Projects
Commit 77b721fc authored by Philippe Dosch's avatar Philippe Dosch
Browse files

Ajout de openwith

parent f2d80b08
No related branches found
No related tags found
No related merge requests found
...@@ -628,6 +628,36 @@ ...@@ -628,6 +628,36 @@
:config :config
(edit-server-start)) (edit-server-start))
;; Openwith : utilsation de programmes externe lors de
;; l'ouverture pour certains types de fichiers
(use-package openwith
:ensure t
:config
(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
'("xbm" "pbm" "pgm" "ppm" "pnm"
"png" "gif" "bmp" "tif" "jpeg" "jpg"))
"gwenview"
'(file))
(list (openwith-make-extension-regexp
'("doc" "xls" "ppt" "odt" "ods" "odg" "odp" "docx" "xlsx"))
"libreoffice"
'(file))
(list (openwith-make-extension-regexp
'("pdf" "ps" "ps.gz" "dvi"))
"okular"
'(file))
))
(openwith-mode 1)))
;; =============================== ;; ===============================
;; Configurations variables/styles ;; Configurations variables/styles
;; =============================== ;; ===============================
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment