Alex's Slip-box

These are my org-mode notes in sort of Zettelkasten style

Org-roam

:ID: 7514BB0A-9713-4C61-9FFD-6C93BC0F0374 :ROAM_REFS: https://foo.com :ROAM_ALIASES: “Org-roam stuff”

Org-roam online manual See also Org-mode basics

# V1

# Settings

You can define these anywhere, but it makes sense to define them at the top along with the Org-mode Export Settings. See example in this file.

  • roam_alias is a title alias. Useful when finding files.
  • roam_tags is for categorization. Also useful when finding files.
  • roam_key is a reference. Shows notes with that reference as a link in the backlinks buffer.

# Capture Templates

Example with two templates.

(setq org-roam-capture-templates
      '(("d" "default" plain #'org-roam-capture--get-point "%?" :file-name "%<%Y%m%d%H%M%S>-${slug}" :head "#+title: ${title}\n" :unnarrowed t)
        ("t" "test" plain #'org-roam-capture--get-point "%?" :file-name "%<%Y%m%d%H%M%S>-${slug}" :head "#+title: ${title}\n" :unnarrowed t)))

# Linking Notes

  • org-roam-insert

One cool trick is to link to a heading in a note. After the filename add ::*Header Name.

[[file:note.org::*My heading][Note - My Heading]]

# V2

# File links

  • Now uses an ID property.
  • A map of IDs to file paths is stored in .org-id-locations file, the location of which is determined by the variable org-id-locations-file

# Creating and ID manually

Search Results