Compare commits

...

5 Commits

3 changed files with 14 additions and 3 deletions

View File

@ -11,3 +11,7 @@
(map! :leader :n "o e" #'=rss)
;; Map wallabag to global keybinding
(map! :leader :n "o w" #'=wallabag)
;; Keybindings for org-noter
(map! :mode pdf-view-mode
:n "i" #'org-noter-insert-note
:desc "Insert note with a subheading")

View File

@ -116,10 +116,9 @@
(if (org-clocking-p)
(format "%s" (org-duration-from-minutes (org-clock-get-clocked-time)))
"")))
;; Save org-download images to ~/.cache
;; Save org-download images to an assets directory
(after! org-download
(setq org-download-image-dir "~/.cache/org-download"
org-attach-id-dir "~/.cache/org-attach"
(setq org-download-image-dir "assets/"
org-attach-auto-tag nil))
;; Show images by default with a limited width
(setq org-startup-with-inline-images t
@ -134,3 +133,5 @@
(setq org-noter-always-create-frame nil
org-noter-doc-split-fraction '(0.7 . 0.3)
org-noter-default-heading-title " "))
;; Increase the latex preview size
(setq org-format-latex-options (plist-put org-format-latex-options :scale 3.0))

View File

@ -57,6 +57,8 @@
;; Ignore empty files
(after! projectile
(add-to-list 'projectile-globally-ignored-files ".gitkeep")
(add-to-list 'projectile-globally-ignored-files ".envrc")
(add-to-list 'projectile-globally-ignored-files ".project")
(add-to-list 'projectile-globally-ignored-directories ".direnv"))
;; Associate polymode to R markdown files
(add-to-list 'auto-mode-alist '("\\.[rR]md\\'" . poly-markdown+R-mode))
@ -119,3 +121,7 @@
(magit-delta-mode))
;; Set up the mail stack
(after! mu4e (load! "+mail"))
;; HACK Enable AOT native compilation
(setq native-comp-deferred-compilation nil)
(after! (doom-packages straight)
(setq straight--native-comp-available t))