adding org-pdftools

This commit is contained in:
caleb 2025-06-03 22:18:23 -07:00
parent ee2ae7559d
commit ddc6c5299a
2 changed files with 14 additions and 2 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@
/projects
/recentf
/tramp
/.org-id-locations

15
init.el
View File

@ -34,7 +34,8 @@
backup-directory-alist '(("." . "~/.emacs.d/backup"))
abbrev-file-name "~/org/abbrev_defs"
backup-directory-alist `(("." . "~/.emacs.d/backups"))
compilation-scroll-output t)
compilation-scroll-output t
large-file-warning-threshold nil)
(use-package doom-themes
:ensure t
@ -156,8 +157,18 @@
(use-package pdf-tools
:ensure t
:magic ("%PDF" . pdf-view-mode)
:hook (pdf-view-mode . pdf-view-midnight-minor-mode)
:config
(pdf-tools-install :no-query)))
(pdf-tools-install :no-query))
(use-package org-pdftools
:ensure t
:hook (org-mode . org-pdftools-setup-link)
;; below is a hack until this issue is fixed:
;; https://github.com/fuxialexander/org-pdftools/issues/110
:config
(defalias 'find-if 'cl-find-if)
(defalias 'getf 'cl-getf)))
(use-package yasnippet
:ensure t