ADD org-roam + org-roam-ui
This commit is contained in:
parent
c5cebd2147
commit
8a5527c2d4
1 changed files with 33 additions and 0 deletions
33
config.org
33
config.org
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue