Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abo-abo/orca
ORg CApture
https://github.com/abo-abo/orca
Last synced: about 2 months ago
JSON representation
ORg CApture
- Host: GitHub
- URL: https://github.com/abo-abo/orca
- Owner: abo-abo
- Created: 2017-10-28T19:26:38.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-09-03T18:13:29.000Z (about 2 years ago)
- Last Synced: 2024-05-09T21:05:42.475Z (5 months ago)
- Language: Emacs Lisp
- Size: 19.5 KB
- Stars: 103
- Watchers: 9
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
* Introduction
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 =emacs.org:Reddit=
- Capture URL matching https://emacs.stackexchange.com/ to =emacs.org:Questions=
- If the current buffer is e.g. =foo.org= and it has a =* Tasks= heading, capture to =foo.org:Tasks=
- If nothing else matches, capture to =ent.org:Articles=.The package needs =ripgrep= to be able to detect already-captured links, but also works without.
* Configuration
Just requiring the package, only the "capture to current buffer"
method will work, since no file paths are recognized:
#+begin_src elisp
(require 'orca)
#+end_srcCustomize the file paths to your liking using this template:
#+begin_src elisp
(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")))
#+end_srcIt's also possible to customize interactively via ~M-x~ =customize-group= ~RET~ =orca= ~RET~.