commit 10eed68f8d226303fcb70c72268034001127d57b
parent 7f8b301a4453f9fffa249ea0d22485cd6b882bd1
Author: Crazazy <crazazy@tilde.cafe>
Date: Tue, 10 May 2022 09:28:01 +0200
auto-enable pdf-view-mode for pdf-tools
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/emacs.org b/emacs.org
@@ -312,8 +312,8 @@ Also, if you just stumbled accross this at random, there is an easy tangle butto
I don't want to be at the mercy of my browser to figure out how to read a PDF
#+begin_src emacs-lisp :tangle emacsconfig/extras.el
(use-package pdf-tools
- :mode
- "\\.pdf$")
+ :config
+ (add-to-list 'auto-mode-alist '("\\.pdf$" . pdf-view-mode)))
#+end_src
** Programming-related emacs tools
I do computer science, so from now and then I tend to program a bit. Here are all the tools I use to accomplish