* navigate to next radio target?
@ 2022-10-17 17:30 kevinbanjo
2022-10-18 5:33 ` Ihor Radchenko
0 siblings, 1 reply; 2+ messages in thread
From: kevinbanjo @ 2022-10-17 17:30 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 213 bytes --]
Hi everyone:
Is there a function to move the cursor to the next or previous radio target?
I'd like to bind that to a key.
I'm talking about moving to the link to the target, not the target itself.
TIA,
-Kevin
[-- Attachment #2: Type: text/html, Size: 357 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: navigate to next radio target?
2022-10-17 17:30 navigate to next radio target? kevinbanjo
@ 2022-10-18 5:33 ` Ihor Radchenko
0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2022-10-18 5:33 UTC (permalink / raw)
To: kevinbanjo; +Cc: emacs-orgmode
kevinbanjo <kevinbanjo@gmail.com> writes:
> Is there a function to move the cursor to the next or previous radio target?
>
> I'd like to bind that to a key.
>
> I'm talking about moving to the link to the target, not the target itself.
I do not think that there is such function. But you can use
org-target-link-regexp variable and do regexp search.
(defun my/next-target-link ()
"Go to next target link in buffer."
(interactive)
(re-search-forward org-target-link-regexp))
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-10-18 5:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-17 17:30 navigate to next radio target? kevinbanjo
2022-10-18 5:33 ` Ihor Radchenko
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).