No description
Find a file
Leo Vivier e05ee1240d
(feat) cond display relative subdir in title for selection (#427)
* (feat) cond display relative subdir in title for selection

A title can now be constructed as ‘subdir/file-title’ where ‘subdir’ is the
sub-directory relative from ‘org-roam-directory’.

When ‘org-roam-title-include-subdirs’ is non-nil, ‘org-roam--extract-titles’
now outputs titles in this format.

* (fix) improve docstrings

* (feat) add var for modifying subdir-separator

* (fix) nitpick docstring

* (doc) document subdir creation in templates with :file-name

* (feat) make subdir-format accept a function

* (fix) respect docstring one-line-description

* (fix) address checkdoc errors

* (fix) also add subdirs when db--update-titles

* (feat) improve modularisation

`org-roam--extract-titles' is now reverted to its default definition, i.e. it
doesn’t format the titles.  In its stead,
`org-roam--extract-and-format-titles' is created to both extract the titles
and process all of them with `org-roam--format-title', which is a much better
way to do this.

* Refactor with ->>

* Refactor with let*

Pretty sure I got confused because I thought I needed to use the result of the
db-queryr.

* Remove useless ->>
2020-04-30 13:13:19 +02:00
.github (chore): update internal Github settings (#339) 2020-03-22 11:37:23 +08:00
doc (feat) cond display relative subdir in title for selection (#427) 2020-04-30 13:13:19 +02:00
tests (feat): Add org-ref citation support (#374) 2020-04-06 16:48:17 +08:00
.gitignore (tests): add tests for org-roam-insert (#105) 2020-02-17 15:48:54 +08:00
.readthedocs.yml add readthedocs.yml 2020-02-12 19:40:13 +08:00
CHANGELOG.md (feat): optionally use headline as title (#538) 2020-04-29 12:42:55 +08:00
LICENSE Add GPL License 2020-02-12 21:47:57 +08:00
Makefile Fix several linting errors (#68) 2020-02-13 13:20:48 +08:00
makem.sh Fix several linting errors (#68) 2020-02-13 13:20:48 +08:00
mkdocs.yml (docs): add documentation for exporting backlinks in Org file (#244) 2020-03-07 23:49:43 +08:00
org-roam-buffer.el (internal): refactor org-roam--pluralize (#525) 2020-04-26 19:07:19 +08:00
org-roam-capture.el (release): 1.1.0: update version headers in source (#502) 2020-04-21 20:50:24 +08:00
org-roam-compat.el (release): 1.1.0: update version headers in source (#502) 2020-04-21 20:50:24 +08:00
org-roam-completion.el (chore): remove org-roam-completion-fuzzy-match (#523) 2020-04-26 18:32:27 +08:00
org-roam-dailies.el (release): 1.1.0: update version headers in source (#502) 2020-04-21 20:50:24 +08:00
org-roam-db.el (feat) cond display relative subdir in title for selection (#427) 2020-04-30 13:13:19 +02:00
org-roam-graph.el (feat): prettier graph defaults (#541) 2020-04-30 13:56:54 +08:00
org-roam-macs.el (release): 1.1.0: update version headers in source (#502) 2020-04-21 20:50:24 +08:00
org-roam-protocol.el (release): 1.1.0: update version headers in source (#502) 2020-04-21 20:50:24 +08:00
org-roam.el (feat) cond display relative subdir in title for selection (#427) 2020-04-30 13:13:19 +02:00
README.md (chore): update Slack invite link (#403) 2020-04-06 18:23:51 +08:00

License GPL 3 Documentation Status GitHub Release MELPA

Synopsis

Org-roam is a Roam replica built on top of the all-powerful Org-mode.

Org-roam is a solution for effortless non-hierarchical note-taking with Org-mode. With Org-roam, notes flow naturally, making note-taking fun and easy. Org-roam should also work as a plug-and-play solution for anyone already using Org-mode for their personal wiki.

Org-roam aims to implement the core features of Roam, leveraging the mature ecosystem around Org-mode where possible. Eventually, we hope to further introduce features enabled by the Emacs ecosystem.

@technovangelist has produced a video describing Org-roam and the concepts behind it:

Making Connections in your Notes

As of February 2020, it is in a very early stage of development.

Important links:

A Preview

Here's a screenshot of org-roam. The org-roam buffer shows backlinks for the active org buffer in the left window, as well as the surrounding content in the backlink file. The database is built once, and updated incrementally. The graph is generated from the link structure, and can be used to navigate to the respective files.

img

Installation

You can install org-roam using package.el:

M-x package-install RET org-roam RET

Here's a sample configuration with using use-package:

(use-package org-roam
      :hook 
      (after-init . org-roam-mode)
      :custom
      (org-roam-directory "/path/to/org-files/")
      :bind (:map org-roam-mode-map
              (("C-c n l" . org-roam)
               ("C-c n f" . org-roam-find-file)
               ("C-c n g" . org-roam-show-graph))
              :map org-mode-map
              (("C-c n i" . org-roam-insert))))

For more detailed installation and configuration instructions (including for Doom and Spacemacs users), please see the documentation.

Knowledge Bases using Org-roam

Changelog

A changelog is being maintained here

Contributing

To report bugs and suggest new feature use the issue tracker. If you have some code which you would like to be merged, then open a pull request. Please also see CONTRIBUTING.md.

License

Copyright © Jethro Kuan and contributors. Distributed under the GNU General Public License, Version 3