Alan Schmitt <alan.schm...@polytechnique.org> writes: > On 2014-09-03 09:18, Thorsten Jolitz <tjol...@gmail.com> writes: > >> Alan Schmitt <alan.schm...@polytechnique.org> writes: >> >> Hello, >> >>> I very often use the org speed command 'g' to navigate to a headline >>> (it opens a completion buffer that I can use to quickly fuzzy match the >>> target). Is there an equivalent navi workflow for non-org buffer in >>> outshine mode? >> >> Hmm... which command do you mean? I get >> >> ,---- >> | User-defined Speed commands >> | =========================== >> | >> | Built-in Speed commands >> | ======================= >> | >> | Outline Navigation >> | ------------------ >> | [...] >> | g (org-refile t) >> `---- >> >> but thats not the one you are talking about, right? > > Yes, it's the one I mean. Don't let the "refile" fool you: the 't' > argument means nothing is actually refiled during the jump to the > target. I use it all the time.
ok, it seems 'outshine-refile does works, but I'm not sufficiently used to it - it actually refiles the outshine headers I'm on, but that seems to be a configuration thing. I could expand #+BEGIN_SRC emacs-lisp (defun outshine-refile () "Call outorg to trigger `org-refile'." (interactive) (outshine-use-outorg 'org-refile)) #+END_SRC to something like #+BEGIN_SRC emacs-lisp (defun outshine-refile (&optional arg) "Call outorg to trigger `org-refile'." (interactive "P") (if arg (outshine-use-outorg 'org-refile nil nil t) (outshine-use-outorg 'org-refile))) #+END_SRC to match you use case, but I think what you really want is ,----[ C-h f outshine-imenu RET ] | outshine-imenu is an interactive Lisp function in `outshine.el'. | | It is bound to M-# M-p. | | (outshine-imenu &optional PREFER-IMENU-P) | | Convenience function for calling imenu/idomenu from outshine. `---- with idomenu installed from the package manager. -- cheers, Thorsten