5

How can I skip to next heading in org-mode?

Say This is my org-file, pipe indicates the cursor:

* Top
** Apple|
** Banana
** Cherry

I'd like to run a command and have my cursor now be here:

* Top
** Apple
** Banana|
** Cherry
Drew
  • 75,699
  • 9
  • 109
  • 225
Alex Baranosky
  • 1,069
  • 1
  • 8
  • 17

1 Answers1

11

org-next-item is the built-in way to move forward in a plain list. However, a plain list in org-mode actually looks like:

* here's the headline

  - An item
  - Another item
  - Another item

The example you give is of headlines:

* Top
** Apple
** Banana
** Cherry

To move forward to the next headline, you can use org-forward-heading-same-level (default C-c C-f). Also, since org-mode is built on top of outline-mode, you can also use the outline motion commands such as outline-next-visible-heading (default C-c C-n). Note that org-forward-heading-same-level takes over for outline-forward-same-level, and there's also outline-next-heading that is not bound to a key combination by default.

Dan
  • 32,584
  • 6
  • 98
  • 168