Pere Quintana Seguí <pquint...@obsebre.es> writes:

> Now I have to learn to better navigate within my much longer org files.
> Before, I used ido-mode to jump from buffer to buffer, now I guess I
> have to practise more sparse trees to jump from headline to headline.

I use this function to jump quickly (via ido) to a first level headline
in my org files:

--8<---------------cut here---------------start------------->8---
(defun my-org-global-goto ()
  (interactive)
  (let ((org-completion-use-ido t)
        (org-outline-path-complete-in-steps nil)
        (org-refile-use-outline-path nil)
        (org-refile-targets '((my-org-refile-targets :maxlevel . 1))))
    (org-refile t)))
--8<---------------cut here---------------end--------------->8---

Best,
Matt

Reply via email to