mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
minor fix
This commit is contained in:
parent
fbec6c35a4
commit
2cff95950c
8 changed files with 99 additions and 30 deletions
|
|
@ -51,6 +51,15 @@
|
|||
(setq org-preview-latex-default-process 'dvisvgm)
|
||||
(setq org-format-latex-options (plist-put org-format-latex-options :scale 0.8))
|
||||
|
||||
|
||||
(use-package org-latex-impatient
|
||||
:defer t
|
||||
:hook (org-mode . org-latex-impatient-mode)
|
||||
:init
|
||||
(setq org-latex-impatient-tex2svg-bin
|
||||
;; location of tex2svg executable
|
||||
"~/.local/share/pnpm/tex2svg"))
|
||||
|
||||
(use-package org-fragtog
|
||||
:after org
|
||||
:hook (org-mode . org-fragtog-mode))
|
||||
|
|
@ -233,4 +242,25 @@
|
|||
(org-get-heading t t t t)
|
||||
effort))))))
|
||||
|
||||
(use-package org-roam
|
||||
:ensure t
|
||||
:custom
|
||||
(org-roam-directory (file-truename (concat org-directory "roam")))
|
||||
:bind (("C-c n l" . org-roam-buffer-toggle)
|
||||
("C-c n f" . org-roam-node-find)
|
||||
("C-c n g" . org-roam-graph)
|
||||
("C-c n i" . org-roam-node-insert)
|
||||
("C-c n c" . org-roam-capture)
|
||||
;; Dailies
|
||||
("C-c n j" . org-roam-dailies-capture-today))
|
||||
:config
|
||||
;; If you're using a vertical completion framework, you might want a more informative completion interface
|
||||
(setq org-roam-node-display-template (concat "${title:*} " (propertize "${tags:10}" 'face 'org-tag)))
|
||||
(setq org-roam-db-location (expand-file-name "org-roam.db" user-emacs-data))
|
||||
(org-roam-db-autosync-mode)
|
||||
;; If using org-roam-protocol
|
||||
(require 'org-roam-protocol))
|
||||
|
||||
|
||||
|
||||
(provide 'init-org)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue