org-download and auto image toggle

This commit is contained in:
EliasVincent 2024-12-27 11:56:24 +01:00
parent c1ebd1e47e
commit fb1e313f39
3 changed files with 8 additions and 2 deletions

View File

@ -78,7 +78,7 @@
;; MY CONFIG
(add-hook 'org-mode-hook #'auto-fill-mode)
(add-hook 'org-mode-hook 'org-toggle-inline-images)
;;(eval-after-load "tex"
;; '(add-to-list 'TeX-command-list
;; '("Biber" "biber %s" TeX-run-Biber nil t :help "Run Biber")))
@ -115,3 +115,8 @@
(setq org-journal-dir "~/Nextcloud/org/journal")
(setq org-journal-file-format "%Y_%m_%d.org")
)
(after! org-download
(setq-default org-download-image-dir "~/Nextcloud/org/img")
(add-hook 'dired-mode-hook 'org-download-enable)
)

View File

@ -6,7 +6,7 @@
'(custom-safe-themes
'("4594d6b9753691142f02e67b8eb0fda7d12f6cc9f1299a49b819312d6addad1d" "2b501400e19b1dd09d8b3708cefcb5227fda580754051a24e8abf3aff0601f87" "2721b06afaf1769ef63f942bf3e977f208f517b187f2526f0e57c1bd4a000350" "4ade6b630ba8cbab10703b27fd05bb43aaf8a3e5ba8c2dc1ea4a2de5f8d45882" "d481904809c509641a1a1f1b1eb80b94c58c210145effc2631c1a7f2e4a2fdf4" "014cb63097fc7dbda3edf53eb09802237961cbb4c9e9abd705f23b86511b0a69" default))
'(org-agenda-files '("~/Nextcloud/org/main.org" "/home/cat/org/notes.org"))
'(package-selected-packages '(org-journal)))
'(package-selected-packages '(org-download org-journal)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.

View File

@ -50,3 +50,4 @@
(package! emmet-mode)
(package! org-journal)
(package! org-download)