From 0df3587379954ea3a23c092e91906c562ff473f8 Mon Sep 17 00:00:00 2001 From: rearman Date: Mon, 16 Jan 2023 08:06:39 -0500 Subject: [PATCH] Add openwith assoc. for non-windows --- init.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 4bc1443..d8bab1d 100644 --- a/init.el +++ b/init.el @@ -18,7 +18,11 @@ ("\\.docx\\'" "word" (file)) ("\\.adpro\\'" "PoductivitySuite" (file)))) (load (expand-file-name "win-defuns.el" user-emacs-directory))) - nil) + (progn (setq openwith-associations '(("\\.pdf\\'" "zathura" (file)) + ("\\.xls\\'" "libreoffice" (file)) + ("\\.xlsx\\'" "libreoffice" (file)) + ("\\.doc\\'" "libreoffice" (file)) + ("\\.docx\\'" "libreoffice" (file)))))) (custom-set-variables ;; custom-set-variables was added by Custom. -- 2.39.5