Add minimal org-roam config
This commit is contained in:
parent
7ebb092929
commit
7b690bbc78
22
config.org
22
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"))
|
"xelatex -shell-escape -interaction nonstopmode -output-directory %o %f"))
|
||||||
#+end_src
|
#+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
|
** Default Applications
|
||||||
It's all fun and games until =C-c C-e h o= opens the source code.
|
It's all fun and games until =C-c C-e h o= opens the source code.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user