[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: navigate to next radio target?
From: |
Ihor Radchenko |
Subject: |
Re: navigate to next radio target? |
Date: |
Tue, 18 Oct 2022 05:33:56 +0000 |
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>