Orca is an ORg CApture list of recipes; mainly for capturing from a browser.
The more this package is configured, the less refiling you’ll do on your captures: they will go directly to where they belong.
Here is my example list of configurations:
- Capture URL matching https://www.reddit.com/r/emacs to
- Capture URL matching https://emacs.stackexchange.com/ to
- If the current buffer is e.g.
foo.organd it has a
* Tasksheading, capture to
- If nothing else matches, capture to
The package needs
ripgrep to be able to detect already-captured links, but also works without.
Just requiring the package, only the “capture to current buffer” method will work, since no file paths are recognized:
Customize the file paths to your liking using this template:
(setq orca-handler-list '((orca-handler-match-url "https://www.reddit.com/emacs/" "~/Dropbox/org/wiki/emacs.org" "Reddit") (orca-handler-match-url "https://emacs.stackexchange.com/" "~/Dropbox/org/wiki/emacs.org" "\\* Questions") (orca-handler-current-buffer "\\* Tasks") (orca-handler-file "~/Dropbox/org/ent.org" "\\* Articles")))
It’s also possible to customize interactively via