From 7ebb092929f32cf53eb1961d6d49223d67e6f0d1 Mon Sep 17 00:00:00 2001 From: Camden Dixie O'Brien Date: Fri, 1 Jan 2021 00:00:31 +0000 Subject: [PATCH] Fiddle with org-file-apps a little --- config.org | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/config.org b/config.org index 60683dd..f9be3ff 100644 --- a/config.org +++ b/config.org @@ -144,13 +144,16 @@ needs to be set up to install them if they aren't already. "xelatex -shell-escape -interaction nonstopmode -output-directory %o %f")) #+end_src - Also, I don't like Emacs' built-in PDF viewer, so open PDFs in Evince instead: - #+begin_src emacs-lisp - (eval-after-load "org" - '(progn - (setcdr (assoc "\\.pdf\\'" org-file-apps) "evince %s"))) - #+end_src + +** Default Applications + It's all fun and games until =C-c C-e h o= opens the source code. + + #+begin_src emacs-lisp + (setq org-file-apps + '(("html" . "firefox %s") + (auto-mode . emacs))) + #+end_src * Start up Org is better suited as scratch space than Funamental, I'd say.