In Emacs org-mode, is there a command like org-goto-heading?
In a long org-mode file, I have a heading toward the bottom like this:
* questions
I'd like to jump to that heading without having to wade through all the other instances of the word questions
.
Is there a command like:
Basically I would like to navigate to that heading using something like this: M-x org-goto-heading questions <RET>
Emacs does not actually understand you are editing an Org document, yet. To enable Org mode on your current document, type M-x org-mode which will enable the Org mode on the current document. Those are minuses, not underscores.
From an Org buffer, the following commands create, navigate or, more generally, act on links. Insert a link30. This prompts for a link to be inserted into the buffer. You can just type a link, using text for an internal link, or one of the link type prefixes mentioned in the examples above.
Emacs has included Org Mode as a major mode by default since 2006. Bastien Guerry is the current maintainer, in cooperation with an active development community. Since its success in Emacs, some other systems now provide functions to work with org files.
Description. Org mode is routinely used to build and manage complex workflows. It does this using an elegantly simple syntax that scales from basic markup to full LaTeX typesetting and from plain text notes to literate programs. Everything you need to get started is demonstrated in the example.
Here is an interesting thread from the org mailing list discussing navigation.
Essentially, add this to your init file:
(setq org-goto-interface 'outline-path-completion
org-goto-max-level 10)
And you can jump to heading with the org-goto
command C-c C-j.
You can also use C-u C-c C-w org-refile
by adding this to your
init file:
(setq org-outline-path-complete-in-steps nil)
Not sure if this works for you but there is a org-goto
function C-c C-j
.
Once you invoke it you can scroll the tree using up and down keys or using a search C-s
.
Here's a snippet from the docs.
C-c C-j (org-goto)
Jump to a different place without changing the current outline visibility.
Shows the document structure in a temporary buffer, where you can use the
following keys to find your destination:
<TAB> Cycle visibility.
<down> / <up> Next/previous visible headline.
<RET> Select this location.
/ Do a Sparse-tree search
The following keys work if you turn off org-goto-auto-isearch
n / p Next/previous visible headline.
f / b Next/previous headline same level.
u One level up.
0-9 Digit argument.
q Quit
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With