Commit Graph

123 Commits

Author SHA1 Message Date
Jethro Kuan
684ab67952 Insert org-roam-links relative to current file (#78)
Fixes #77
2020-02-14 23:14:38 +08:00
Jethro Kuan
60eeb3985a Move org-roam sync/async utilities to org-roam-utils (#75)
This fixes #74 for some reason
2020-02-14 01:52:56 +08:00
Jethro Kuan
a6cdc77980 deduplicate async/non-async functions (#72)
Signed-off-by: Jethro Kuan <jethrokuan95@gmail.com>
2020-02-13 20:08: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
Jethro Kuan
e00538f909 Fix org-roam-insert inserting absolute paths (#71)
Fixes #70
2020-02-13 16:04:41 +08:00
Jethro Kuan
270995b2d4 Refactored functions to buffer-passing style (#69)
See https://nullprogram.com/blog/2014/05/27/
2020-02-13 15:55:21 +08:00
Jethro Kuan
1cfd71f5a8 Fix several linting errors (#68)
Also add @alphapapa's makem scripts
2020-02-13 13:20:48 +08:00
Jethro Kuan
ede33d7411 Fix org-roam--make-file to create files with extensions (#67) 2020-02-13 12:36:19 +08:00
Jethro Kuan
7817116403 add more metadata into org-roam (#66)
In preparation for publishing to MELPA
2020-02-13 04:09:47 +08:00
Jethro Kuan
efd2072070 Add documentation for configuration options (#65)
* document org-roam-directory

* rename org-roam-position, and document org-roam-buffer-position

* document org-roam-buffer

* document org-roam-buffer-width

* Document org-roam-graphviz-executable

* document org-roam-graph-viewer

* document org-roam-link-title-format
2020-02-13 03:14:34 +08:00
Jethro Kuan
791c059200 Simplify org-roam-insert and org-roam-find-file (#62)
* Simplify org-roam-insert and org-roam-find-file

See #59.

* Add docs for org-roam automatic filenaming

* Update installation instructions
2020-02-13 00:25:45 +08:00
Jethro Kuan
a2a448d7d2 Merge pull request #61 from jethrokuan/feat/timestamped-files
Add org-roam-timestamped-files option
v0.1.0
2020-02-12 22:37:02 +08:00
Jethro Kuan
5c1d22352e Add org-roam-timestamped-files option 2020-02-12 22:18:03 +08:00
Jethro Kuan
ddb1d10cff Merge pull request #60 from jethrokuan/feat/license
Add GPL License
2020-02-12 21:48:31 +08:00
Jethro Kuan
f7d54d0448 Add GPL License 2020-02-12 21:47:57 +08:00
Jethro Kuan
ceb88e1e82 Merge pull request #58 from jethrokuan/feat/title->id
add org-roam--title-to-id
2020-02-12 21:20:52 +08:00
Jethro Kuan
c91bd7be92 add org-roam--title-to-id 2020-02-12 21:18:13 +08:00
Jethro Kuan
3df3fd8e4d rtd customizations 2020-02-12 19:56:35 +08:00
Jethro Kuan
42bfe14462 trim pymdownx extensions 2020-02-12 19:49:15 +08:00
Jethro Kuan
b104bc7da3 fix broken mkdocs.yml 2020-02-12 19:41:22 +08:00
Jethro Kuan
c278ac4350 add readthedocs.yml 2020-02-12 19:40:13 +08:00
Jethro Kuan
3776f3a6b9 Add mkdocs plugins 2020-02-12 19:35:49 +08:00
Jethro Kuan
2aca311cad Add documentation 2020-02-12 19:05:19 +08:00
Jethro Kuan
5ee1cf198d Refactor into org-roam--make-file 2020-02-12 19:05:13 +08:00
Jethro Kuan
654a0d4070 Add org-roam--populate-title
The title is now automatically populated by default. This behaviour is
customizable via org-roam-autopopulate-title. The title is either
provided during prompt, or inferred from the file name.
2020-02-12 19:05:04 +08:00
Jethro Kuan
12cd3079a9 Add checks before updating cache with org-roam--update-cache 2020-02-12 19:04:57 +08:00
Jethro Kuan
cdf344c189 Merge pull request #51 from jethrokuan/feat/cache-refactor
Refactoring the cache implementation
2020-02-11 16:22:56 +08:00
Jethro Kuan
f724e59555 Make after-save hook local 2020-02-11 16:21:16 +08:00
Jethro Kuan
1432c7c9c2 Refactor caches into their own variables 2020-02-11 16:19:59 +08:00
Jethro Kuan
152c3cecdc Merge pull request #47 from jethrokuan/feat/async-cache
Move all expensive build-cache computation to async-process
2020-02-10 18:12:12 +08:00
Jethro Kuan
64693f572d Move all expensive build-cache computation to async-process 2020-02-10 18:10:06 +08:00
Jethro Kuan
6f1938e1ac Merge pull request #45 from jethrokuan/fix/check-cache
Add org-roam--ensure-cache-built
2020-02-10 17:10:48 +08:00
Jethro Kuan
cb0c9495b9 Add org-roam--ensure-cache-built
org-roam--ensure-cache-built errors out if the cache is not yet built,
and attempts to build the cache.
2020-02-10 17:10:24 +08:00
Jethro Kuan
2d8c7595c0 Merge pull request #44 from jethrokuan/fix/symlinks-handling
Fix symlinks handling
2020-02-10 16:33:19 +08:00
Jethro Kuan
1a1702c1f5 Fix symlinks handling 2020-02-10 16:32:52 +08:00
Jethro Kuan
9b6992546b Merge pull request #43 from jethrokuan/feat/quick-new-file
Add org-roam-new-file
2020-02-10 15:47:43 +08:00
Jethro Kuan
112324ebcf Add org-roam-new-file
`org-roam-new-file` quickly creates a new file using the current
timestamp.
2020-02-10 15:46:54 +08:00
Jethro Kuan
a0c5e2c05a Merge pull request #42 from jethrokuan/feat/title-format
Add customizability for org-roam link insert formats
2020-02-10 15:37:11 +08:00
Jethro Kuan
06890773ae Add org-roam-link-id-format and org-roam-link-title-format
This allows for customizing how org-roam links look when inserted
2020-02-10 15:35:45 +08:00
Jethro Kuan
59ebbda730 Update README with org-roam-link-representation customization 2020-02-10 14:19:28 +08:00
Jethro Kuan
72f62c5290 Merge pull request #41 from jethrokuan/feat/titles-cache
File-title cache and related functionality
2020-02-10 14:09:56 +08:00
Jethro Kuan
bb85ad1976 Update org-roam-find-file to use title 2020-02-10 14:03:24 +08:00
Jethro Kuan
bfc8bef7f6 Refactor org-roam-update to use caching functionality 2020-02-10 13:55:23 +08:00
Jethro Kuan
c6af97bbdd Add org-roam--insert-title 2020-02-10 13:46:17 +08:00
Jethro Kuan
e165486dc5 Build additional titles cache 2020-02-10 12:50:13 +08:00
Jethro Kuan
66ba96289f Merge pull request #40 from jethrokuan/fix/path
Fix interactive commands using the wrong paths
2020-02-10 12:00:48 +08:00
Jethro Kuan
fbc5944d12 Fix interactive commands using the wrong paths 2020-02-10 11:58:40 +08:00
Jethro Kuan
32865d3d0c Fix org-roam buffer being selected on org-roam--setup-buffer 2020-02-09 21:22:24 +08:00
Jethro Kuan
a14da9630c Merge pull request #32 from jethrokuan/feat/dashboard
Small updates to org-roam buffer
2020-02-09 21:02:04 +08:00
Jethro Kuan
3fb4fcc641 Add customizable width for org-roam buffer 2020-02-09 20:59:39 +08:00