Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This answer describes how to move point to the next or previous heading.

I would like to move point to the next or previous heading, which is one level higher up the tree (at the parent level).

For example:

* One
** OneA
** OneB []
** OneC
* Two

If point is the [], I would like to move point to * One or * Two immediately.

share|improve this question
up vote 7 down vote accepted

C-c C-u runs the command outline-up-heading, which moves up to the parent heading. C-c C-f runs the command org-forward-same-level, which moves forward to the next heading at the same level. You can mix and match as you like to get what you need.

C-c C-j runs the command org-goto, which provides a general interface for quickly navigating through all headings.

This is explained in the orgmode manual, along with other related commands.

share|improve this answer

As the other answer on that post points out, org-mode is built on top of outline-mode, so you have access to all of the outline motion commands. According to the manual, you can use:

C-c C-f Move point to the next visible heading line at the same level as the one point is on (outline-forward-same-level).

C-c C-b Move point to the previous visible heading line at the same level (outline-backward-same-level).

C-c C-u Move point up to a lower-level (more inclusive) visible heading line (outline-up-heading).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.