emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [ANN] integrate Org-capture and YASnippet and Yankpad
@ 2020-07-28 16:22 Andrea
  2020-09-04 16:13 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Andrea @ 2020-07-28 16:22 UTC (permalink / raw)
  To: emacs-orgmode

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ANN] integrate Org-capture and YASnippet and Yankpad
  2020-07-28 16:22 [ANN] integrate Org-capture and YASnippet and Yankpad Andrea
@ 2020-09-04 16:13 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2020-09-04 16:13 UTC (permalink / raw)
  To: Andrea; +Cc: emacs-orgmode

Hi Andrea,

Andrea <agiugliano@live.it> writes:

> I would like to share with the community this little hack to integrate
> org-capture with the templating systems of YASnippet and Yankpad!

thanks for sharing -- would you like to contribute to worg.git by
documenting this for https://orgmode.org/worg/org-hacks.html ?

If so, please send me the username you want on code.orgmode.org in
a private email, I will create an account for you.

Thanks,

-- 
 Bastien


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-04 16:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-28 16:22 [ANN] integrate Org-capture and YASnippet and Yankpad Andrea
2020-09-04 16:13 ` Bastien

Code repositories for project(s) associated with this 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).