ADD org-roam + org-roam-ui

This commit is contained in:
Laurens Miers 2024-09-25 23:02:26 +02:00
parent c5cebd2147
commit bcaef7ca92

View file

@ -837,6 +837,39 @@ Preserve indentation in SRC blocks
(add-hook 'org-mode-hook (lambda () (org-bullets-mode)))) (add-hook 'org-mode-hook (lambda () (org-bullets-mode))))
#+END_SRC #+END_SRC
** Org Roam
#+BEGIN_SRC emacs-lisp
(use-package org-roam
;; :custom
;; (org-roam-directory "~/projects/notes")
;; :config
;; (org-roam-setup)
)
#+END_SRC
*** UI
#+BEGIN_SRC emacs-lisp
(use-package org-roam-ui
:ensure
(:host github :repo "org-roam/org-roam-ui" :branch "main" :files ("*.el" "out"))
:after org-roam
;; normally we'd recommend hooking orui after org-roam, but since org-roam does not have
;; a hookable mode anymore, you're advised to pick something yourself
;; if you don't care about startup time, use
;; :hook (after-init . org-roam-ui-mode)
:config
(setq org-roam-ui-sync-theme t
org-roam-ui-follow t
org-roam-ui-update-on-save t
org-roam-ui-open-on-start t)
;; Start UI
;; (org-roam-ui-mode)
)
#+END_SRC
* Elisp * Elisp
** Add demos to describe-function ** Add demos to describe-function