# Navigate sibling page - \<\<previous next\>\>

**URL:** <https://forum.obsidian.md/t/navigate-sibling-page-previous-next/52701>\
**Category:** Plugins ideas (Archival in progress)\
**Tags:** ui-ux, internal-links\
**Created:** [January 19, 2023, 11:15pm UTC](https://forum.obsidian.md/t/navigate-sibling-page-previous-next/52701 "2023-01-19T23:15:10Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![hannesd](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/h/ba9def/32.png) [@hannesd](https://forum.obsidian.md/u/hannesd)\
**Post date:** [January 19, 2023, 11:15pm UTC](https://forum.obsidian.md/t/navigate-sibling-page-previous-next/52701/1 "2023-01-19T23:15:10Z")

</div>

## problem

Andy raises the issue that [It’s hard to navigate to unlinked “neighbors” in associative note systems](https://notes.andymatuschak.org/zT6iA52811NuLvbU9W8ixeDc3KUqyCT1wN8)

## proposal

This would IMO often be addressable with buttons to go to sibling notes.  
`<<previous` and `next>>` button at the bottom of a page.

- easy swap between sibling notes
- show related notes, similar to backlinks

ideally it auto generates the next & prev buttons, based on folder and alphabetical.

- let user choose the sorting algorithm. alphabetical up, down, most recent, …
- option to define a link in the frontmatter.  
if there is a `nav-next` or `nav-previous` defined, we use that instead of the automatic page. Giving the user easy options to modify the linking behaviour manually.

This is inspirated by the existing footer navigation in mkdocs, see [navigation](https://squidfunk.github.io/mkdocs-material/setup/setting-up-the-footer/#navigation) docs.

sketch of how it could look (see previous and next at bottom)

 ![image](https://forum.obsidian.md/uploads/default/original/3X/4/5/45f831b317a9fab79e7c959e9a2ac575e21ee830.png)

## The need

several threads on this forum show the need for this feature:

- popular [thread](https://forum.obsidian.md/t/iterate-through-files-in-the-file-sidebar-with-keyboard/629/60) requesting this
- in-depth [discussion](https://forum.obsidian.md/t/daily-notes-next-previous/4573/13) on a previous and next button in the daily notes plugin, and workarounds with templates.
- short [thread](https://forum.obsidian.md/t/automatic-next-and-previous-sibling-for-breadcrumbs/40469), repeating the same
- [thread](https://forum.obsidian.md/t/is-there-a-shortcut-for-opening-next-note/23812/2) requesting hotkeys for this feature

## Alternatives

The [quick explorer](https://github.com/pjeby/quick-explorer) plugin already adds hotkeys for this feature. But no visual preview. It forgets about people with a mouse.

You could make templates, but would have to keep them up to date. / It’s clunky

---

<div class="post-metadata">

**Author:** ![malecjan](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/a6a055/32.png) [@malecjan](https://forum.obsidian.md/u/malecjan)\
**Post date:** [February 4, 2023, 12:41pm UTC](https://forum.obsidian.md/t/navigate-sibling-page-previous-next/52701/2 "2023-02-04T12:41:13Z")

</div>

Did you ask author of the “Quick Explorer” plugin (@pjeby) to implement this as option?  
IMHO, it would be easiest way to do this as he has most of the relevant code already written and used by the hotkeys.

---

<div class="post-metadata">

**Author:** ![hannesd](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/h/ba9def/32.png) [@hannesd](https://forum.obsidian.md/u/hannesd)\
**Post date:** [February 20, 2023, 5:48pm UTC](https://forum.obsidian.md/t/navigate-sibling-page-previous-next/52701/3 "2023-02-20T17:48:00Z")

</div>

great suggestion, i’ve [posted](https://github.com/pjeby/quick-explorer/issues/73) a feature request

---

<div class="post-metadata">

**Author:** ![hannesd](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/h/ba9def/32.png) [@hannesd](https://forum.obsidian.md/u/hannesd)\
**Post date:** [February 20, 2023, 9:50pm UTC](https://forum.obsidian.md/t/navigate-sibling-page-previous-next/52701/4 "2023-02-20T21:50:48Z")

</div>

the author from quick explorer got back to me and provided a solution.

install these 2 plugins

- [quick explorer](https://github.com/pjeby/quick-explorer) - for previous & next command
- [commander](https://github.com/phibr0/obsidian-commander) - for adding command buttons  
then when hovering on the top bar, you can add a custom button for next & previous.  
 ![image](https://forum.obsidian.md/uploads/default/original/3X/0/2/0286b523c2f547c36591b89aa42048fdbb8a32eb.png)

---

<div class="post-metadata">

**Author:** ![HazelArabia](https://forum.obsidian.md/user_avatar/forum.obsidian.md/hazelarabia/32/53198_2.png) [@HazelArabia](https://forum.obsidian.md/u/HazelArabia)\
**Post date:** [October 22, 2023, 1:33pm UTC](https://forum.obsidian.md/t/navigate-sibling-page-previous-next/52701/6 "2023-10-22T13:33:16Z")

</div>

Bumping this question

---

<div class="post-metadata">

**Author:** ![CawlinTeffid](https://forum.obsidian.md/user_avatar/forum.obsidian.md/cawlinteffid/32/82899_2.png) [@CawlinTeffid](https://forum.obsidian.md/u/CawlinTeffid)\
**Post date:** [October 22, 2023, 11:52pm UTC](https://forum.obsidian.md/t/navigate-sibling-page-previous-next/52701/7 "2023-10-22T23:52:26Z")

</div>

The Breadcrumb Trail plugin deals with sibling/parent/other relationships, but its description doesn’t show a simple prior/next nav (it has some more complicated nav setups). Maybe it includes simpler setups in its full documentation — I didn’t check.

---

<div class="post-metadata">

**Author:** ![Jopp](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/j/8e7dd6/32.png) [@Jopp](https://forum.obsidian.md/u/Jopp)\
**Post date:** [October 31, 2023, 11:40am UTC](https://forum.obsidian.md/t/navigate-sibling-page-previous-next/52701/8 "2023-10-31T11:40:22Z")

</div>

I’m slightly confused how navigation should work in this context… The best navigation imo, is when files are custom-linked, that can’t be automated

if _next_ means in this context to switch to the next markdown file of the same folder, then I personally can’t find much advantages in this approach. At least, this is my impression.

---

<div class="post-metadata">

**Author:** ![hannesd](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/h/ba9def/32.png) [@hannesd](https://forum.obsidian.md/u/hannesd)\
**Post date:** [April 30, 2024, 8:10pm UTC](https://forum.obsidian.md/t/navigate-sibling-page-previous-next/52701/10 "2024-04-30T20:10:55Z")

</div>

you are correct if you use that approach.  
similar arguments are often made online, where people discuss if it’s better to have no folders and just all notes in 1 location, or to use folders to categorize notes.

in this case, i keep my daily notes in a folder separate from other notes.  
pressing next and previous is very helpfull to me personally to browse through daily notes.

i never was able to setup a system where it auto linked to previous and next day notes, because the next day might not exist. e.g. i skip notes for a few days.  
and manually linking was time consuming, i did that for a while.

---

<div class="post-metadata">

**Author:** ![system](https://forum.obsidian.md/uploads/default/original/3X/b/e/bec35fbd23ab28909bb6bfe62cb32eb82dd34019.png) [@system](https://forum.obsidian.md/u/system)\
**Post date:** [May 7, 2024, 8:11pm UTC](https://forum.obsidian.md/t/navigate-sibling-page-previous-next/52701/11 "2024-05-07T20:11:02Z")

</div>

Closed on May 7, 2024, 8:11pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
