From a4142bdad476a3e07f8b61831d54e7375795ea25 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Mon, 11 Apr 2022 16:31:33 +0200 Subject: [PATCH] Setup org-roam-ui --- config.org | 17 +++++++++++++++++ packages.el | 4 ++++ 2 files changed, 21 insertions(+) diff --git a/config.org b/config.org index 99dd362..18b4006 100644 --- a/config.org +++ b/config.org @@ -35,6 +35,7 @@ - [[#save-all-org-buffers-shortcut][Save all org buffers shortcut]] - [[#roam][Roam]] - [[#roam-directory][Roam Directory]] + - [[#org-roam-ui][org-roam-ui]] - [[#export-backends][Export backends]] - [[#doom-specific][Doom specific]] - [[#magit][Magit]] @@ -437,6 +438,22 @@ First, set a directory where =org-roam= will index things. (setq org-roam-directory (expand-file-name "notes/" org-directory)) #+END_SRC +*** org-roam-ui + +Setup [[https://github.com/org-roam/org-roam-ui][org-roam-ui]] + +#+begin_src emacs-lisp +(use-package! websocket + :after org-roam) + +(use-package! org-roam-ui + :after org-roam + :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)) +#+end_src + ** Export backends Sometimes I need to export an Org subtree to a file, which is quite easy with diff --git a/packages.el b/packages.el index 87ffaf7..09fa0dc 100644 --- a/packages.el +++ b/packages.el @@ -59,3 +59,7 @@ (package! magit-delta :recipe (:host github :repo "dandavison/magit-delta") :pin "5fc7dbddcfacfe46d3fd876172ad02a9ab6ac616") + +(package! org-roam-ui + :recipe (:host github :repo "org-roam/org-roam-ui") + :pin "9474a254390b1e42488a1801fed5826b32a8030b")