diff --git a/config.org b/config.org index f9be3ff..7d5d49a 100644 --- a/config.org +++ b/config.org @@ -144,7 +144,29 @@ needs to be set up to install them if they aren't already. "xelatex -shell-escape -interaction nonstopmode -output-directory %o %f")) #+end_src +** Roam + A Zettelkasten in org mode? Yes please. It does need =sqlite3= + installed outside of Emacs land. + #+begin_src emacs-lisp + (use-package org-roam) + #+end_src + + As stated in [[info:org-roam#Getting Started][the manual]], org-roam needs to know where notes are + stored. I'm going to go with =~/org/zet=, as its nice having all + org documents under =~/org=, but also we need to distinguish + zettels from other org stuff. + + #+begin_src emacs-lisp + (make-directory "~/org/zet" t) + (setq org-roam-directory "~/org/zet") + #+end_src + + And, also as recommended, we'll start [[help:org-roam-mode][org-roam-mode]] after init: + + #+begin_src emacs-lisp + (add-hook 'after-init-hook 'org-roam-mode) + #+end_src ** Default Applications It's all fun and games until =C-c C-e h o= opens the source code.