mirror of
https://github.com/org-roam/org-roam
synced 2025-09-24 16:30:55 -05:00
(feature): allow multiple org-roam directories (#178)
Each org-roam-directory gets its own cache. One can override the `org-roam-directory` variable locally via dir-locals: ((org-mode . ((eval . (setq-local org-roam-directory (expand-file-name "./"))))))
This commit is contained in:
7
tests/roam-files-multi/mf1.org
Normal file
7
tests/roam-files-multi/mf1.org
Normal file
@@ -0,0 +1,7 @@
|
||||
#+TITLE: Multi-File 1
|
||||
|
||||
link to [[file:nested/mf1.org][Nested Multi-File 1]]
|
||||
link to [[file:mf2.org][Multi-File 2]]
|
||||
|
||||
Arbitrary [[https://google.com][HTML]] link
|
||||
Arbitrary text
|
3
tests/roam-files-multi/mf2.org
Normal file
3
tests/roam-files-multi/mf2.org
Normal file
@@ -0,0 +1,3 @@
|
||||
#+TITLE: Multi-File 2
|
||||
|
||||
This file has no links.
|
5
tests/roam-files-multi/mf3.org
Normal file
5
tests/roam-files-multi/mf3.org
Normal file
@@ -0,0 +1,5 @@
|
||||
#+TITLE: Multi-File 3
|
||||
|
||||
This file has a link to an file with no title.
|
||||
|
||||
[[file:multi-no-title.org][multi-no-title]]
|
1
tests/roam-files-multi/multi-no-title.org
Normal file
1
tests/roam-files-multi/multi-no-title.org
Normal file
@@ -0,0 +1 @@
|
||||
no title in this file :O
|
4
tests/roam-files-multi/nested/mf1.org
Normal file
4
tests/roam-files-multi/nested/mf1.org
Normal file
@@ -0,0 +1,4 @@
|
||||
#+TITLE: Nested Multi-File 1
|
||||
|
||||
Link to [[file:mf2.org][Nested Multi-File 2]]
|
||||
Link to [[file:../mf1.org][Mulit-File 1]]
|
3
tests/roam-files-multi/nested/mf2.org
Normal file
3
tests/roam-files-multi/nested/mf2.org
Normal file
@@ -0,0 +1,3 @@
|
||||
#+TITLE: Nested Multi-File 2
|
||||
|
||||
Link to [[file:mf1.org][Nested Multi-File 1]]
|
Reference in New Issue
Block a user