Commit graph

9 commits

Author SHA1 Message Date
Herbert Jones
b4d89c6a0c
(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 "./"))))))
2020-02-25 23:06:40 +08:00
Jethro Kuan
43ff60fec7
(feature): add org-roam-mute-cache-build to mute cache build message (#159) 2020-02-22 11:29:34 +08:00
Jethro Kuan
8523fb43b4
(feature): global org-roam-mode (#143)
Makes org-roam-mode a global minor mode. This mode adds an advice to find-file-function, which decides whether to turn on the local post-command-hook and after-save-hook.

It also advices delete-file and rename-file to ensure cache consistency. Also fixes a bug introduced with #142
2020-02-20 17:33:30 +08:00
Jethro Kuan
dd4b1a97a1
(feature): Add advice to delete-file (#142)
Closes #119
2020-02-20 16:18:40 +08:00
Daniel Koudouna
bdc13cd6bf
(feature): update cache on file rename (#124) 2020-02-20 08:32:54 +08:00
Jethro Kuan
2d206134fd
(feature): insert link as downcased title with org-roam-insert (#110) 2020-02-17 23:15:27 +08:00
Jethro Kuan
618b7f6124
(tests): add tests for org-roam-insert (#105) 2020-02-17 15:48:54 +08:00
Jethro Kuan
9ae03532da
(tests): test org-roam--build-cache-async (#92) 2020-02-16 20:31:09 +08:00
Jethro Kuan
9cd12a4f11
Add github test action (#73)
* Add github test action

* add mock tests
2020-02-13 16:41:27 +08:00