Open NightMachinery opened 3 years ago
I want org-back-to-heading to only be called if avy-jump has succeeded.
org-back-to-heading
avy-jump
(defun night/avy-goto-org-header () (interactive) (when (avy-jump "^\*+ ") (org-back-to-heading)))
I just noticed that `org-back-to-heading- jumps to the beginning of the heading, which I don't want anyway; Is there any way to jump to the end of the matched regex with avy?
I want
org-back-to-heading
to only be called ifavy-jump
has succeeded.