diff options
| author | LLoyderino <adrijan.bjedov@gmail.com> | 2025-08-29 18:45:53 +0200 |
|---|---|---|
| committer | LLoyderino <adrijan.bjedov@gmail.com> | 2025-08-31 09:23:20 +0200 |
| commit | 06c2da78af865488220b4be0b46c67697d223e20 (patch) | |
| tree | e8ab965c1dc3bf3bcf655c866548cd60e3cbbe20 | |
| parent | 473cf8b6dfd027b7313a4cf4b830bcf38d1cd4fd (diff) | |
Open PDFs in view mode by default
| -rw-r--r-- | init.el | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -104,7 +104,10 @@ :init (add-hook 'after-init-hook #'marginalia-mode)) ;; pdf-tools -(use-package pdf-tools) +(use-package pdf-tools + :config + ;; Let's face it, I'll be more likely reading PDFs than editing 😉 + (add-to-list 'auto-mode-alist '("\\.pdf\\'" . pdf-view-mode))) ;; Magit (use-package magit) |
