[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: idea for capture anywhere in x
From: |
Ihor Radchenko |
Subject: |
Re: idea for capture anywhere in x |
Date: |
Sat, 11 Jun 2022 12:11:28 +0800 |
Samuel Wales <samologist@gmail.com> writes:
> 2.
>
> in this thread i thought it would also be great to select text with
> mouse /in any running application in x/, then have selection be saved
> to an org entry. this might be possible with the above possible
> solution, minus the url issue.
FYI, you can bind org-capture command in your WM and use %k in your
capture templates:
org-capture-templates is a variable defined in org-capture.el.
...
The template defines the text to be inserted. Often this is an
Org mode entry (so the first line should start with a star) that
will be filed as a child of the target headline. It can also be
freely formatted text. Furthermore, the following %-escapes will
be replaced with content and expanded:
...
%x Content of the X clipboard.
Best,
Ihor