How to get alfred and org-capture to play nice.
In theory you should be able to do this with any productivity application.
You want to and the alfred-org-capture.el
to your .emacs
or .emacs.d/init.el
. Then you should add the
workflow to alfred.
This is a nice MVP, but it's nice to be able to call alfred with
org-capture
and add a capture to your org-default-notes-file
.
I stole this from this post and wrapped it up in github.
Additions by Ian FitzPatrick:
- Included a hook written by Alan Schmitt to close the frame when the capture is finalised.
- Included support for org-mac-link which enables links to certain Mac applications (e.g., Mail, Safari, Firefox).
- Added a PopClip extension to include selected text in capture.
- Added
capture.sh.command
which can be executed via a double-click or in Spotlight.
- The text selection mechanism is implemented by means of a global variable. *audible gasp*
- Text and links are inserted into the capture using
org-capture-prepare-finalize-hook
which sometimes requires finalising (i.e., completing, refiling, or discarding) the capture twice. - When emacs is run in fullscreen mode all frames are killed when the capture is finalised.
- Haider Rizvi
- Robert P. Goldman
- Alan Schmitt
- Alexander Baier
- Damon Haley