emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Capture to heading of current cursor
@ 2019-11-05 21:26 Nathan Neff
  2019-11-06 10:49 ` Julius Müller
  0 siblings, 1 reply; 2+ messages in thread
From: Nathan Neff @ 2019-11-05 21:26 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 441 bytes --]

Hello all,

I know I've asked this before, but can't remember the quick & easy path (TM)
to creating an org-capture template which will capture to the current
heading?

It would be cool to simply "re-use" my existing capture templates and
override the
destination to "wherever my cursor is now" -- this would allow me to keep
all the capture
templates and avoid defining new ones with only the target re-defined.

Any ideas?

Thanks,
--Nate

[-- Attachment #2: Type: text/html, Size: 637 bytes --]

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

* Re: Capture to heading of current cursor
  2019-11-05 21:26 Capture to heading of current cursor Nathan Neff
@ 2019-11-06 10:49 ` Julius Müller
  0 siblings, 0 replies; 2+ messages in thread
From: Julius Müller @ 2019-11-06 10:49 UTC (permalink / raw)
  To: emacs-orgmode

Am 05.11.19 um 22:26 schrieb Nathan Neff:
> Hello all,
>
> I know I've asked this before, but can't remember the quick & easy path (TM)
> to creating an org-capture template which will capture to the current
> heading?

prepend the capture command (C-C C in my setting) by C-0

I think it puts the result before the next heading though.

Remember to make sure the captured text ends with at least one newline.

HTH,
Julius

>
> Thanks,
> --Nate

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

end of thread, other threads:[~2019-11-06 10:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-05 21:26 Capture to heading of current cursor Nathan Neff
2019-11-06 10:49 ` Julius Müller

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).