From: Andrea <agiugliano@live.it>
To: emacs-orgmode@gnu.org
Subject: [ANN] integrate Org-capture and YASnippet and Yankpad
Date: Tue, 28 Jul 2020 18:22:21 +0200 [thread overview]
Message-ID: <AM7P189MB06969E77917EFEB5F64011AEC7730@AM7P189MB0696.EURP189.PROD.OUTLOOK.COM> (raw)
Hi,
TL;DR: I show a way to run a yasnippet or a yankpad snippet from your
org-capture templates.
I would like to share with the community this little hack to integrate
org-capture with the templating systems of YASnippet and Yankpad!
If you like to keep snippets organized and not in the init file, you may
be using YASnippet and/or Yankpad. I found that is not straightforward
to run one of these while creating a task with org-capture so I hacked
my way through.
So this is the screencast of my hack:
https://github.com/ag91/ya-org-capture/blob/master/ya-org-capture-screehcast.gif
And this is a post describing why/what I did: https://ag91.github.io/blog/2020/07/28/how-to-integrate-yasnippet-and-yankpad-with-org-capture/
I hope this will be helpful to somebody else too! And any feedback is
welcome, maybe there was an easier way to do it?
Thanks,
Andrea
next reply other threads:[~2020-07-28 16:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-28 16:22 Andrea [this message]
2020-09-04 16:13 ` [ANN] integrate Org-capture and YASnippet and Yankpad Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AM7P189MB06969E77917EFEB5F64011AEC7730@AM7P189MB0696.EURP189.PROD.OUTLOOK.COM \
--to=agiugliano@live.it \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).