nvim-orgmode / nvim-orgmode/orgmode
Add navigation to parent heading to jumplist
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 3.9k
- Forks
- 190
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 7
Description
Does this feature exist in Emacs orgmode core?
N/A
Orgmode link
No response
Feature value
I find navigating through a file headings to be very valuable for large org files. It would be great if when navigating to the parent heading via outline_up_heading set to g{ by default one could go back to the previous location via the jump list.
This could be also useful for the other heading navigation commands namely: org_next_visible_heading, org_previous_visible_heading, org_forward_heading_same_level, org_backward_heading_same_level. But since these all jump one heading at a time it is less of an issue.
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the implementation of outline_up_heading, which is mapped to g{ by default, and inspect how heading navigation interacts with the jump list. Compare the related org_next_visible_heading, org_previous_visible_heading, org_forward_heading_same_level, and org_backward_heading_same_level commands. Done means navigating to a parent heading allows returning to the previous location through the jump list.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100