Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Neighbouring Files

fabianuntermoserfabianuntermoser7k downloads

Navigate to the next and previous file in the current directory.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates15

This Obsidian Plugin adds commands to quickly navigate between neighbouring files.

Installation

Install from the Obsidian community store.

Demo

Navigating with shortcuts

obsidian-neighbouring-files.webm

Navigating with the mobile floating action button

mobile-fab.mp4

Features

  • Navigate to the next / previous file, alphabetical or by creation / modification date
  • Navigate folders up, down, and between
  • Loop in a folder or continue across folders
  • Mobile floating action button (FAB) with gestures

Commands

Default commands:

  • Navigate to next file
  • Navigate to prev file

Additional commands:

  • Navigate to next file (alphabetical)
  • Navigate to prev file (alphabetical)
  • Navigate to older file (creation timestamp)
  • Navigate to newer file (creation timestamp)
  • Navigate to older file (modified timestamp)
  • Navigate to newer file (modified timestamp)
  • Folder up
  • Folder down
  • Next folder
  • Prev folder

Sorting modes:

  • Alphabetical: by file name
  • By modification timestamp
  • By creation timestamp

Configuration

Sort Order

The default command uses the same sort order as the File explorer. Set a fallback in the plugin settings.

Included File Types

Markdown only by default. In the settings you can:

  • Limit to markdown files only
  • Include all file types
  • Add specific file extensions

Loop Notes in Folder

  • Disabled: navigation stops at the folder edges
  • Enabled: navigation loops back to the first / last note

Continue Across Folders

  • Disabled: navigation stays within the current folder
  • Enabled: navigation continues into adjacent folders

Mobile Navigation Button (FAB)

On mobile, a floating button appears when a note is open. Gestures:

  • Swipe left / right / up / down: run a command (defaults: left = next, right = prev, up = folder up, down = folder down)
  • Tap: run a command (default: none)
  • Double-tap: run a command (default: none)
  • Long-press: open FAB settings
  • Long-press + drag: reposition the button

Set gesture commands in settings under Mobile, or long-press the button. Haptics toggle available.

Keybindings

Obsidian Hotkeys

Open Settings -> Hotkeys, search neighbouring-files, and assign keys to the commands you need. The command IDs follow the command names (e.g. neighbouring-files:next).

VIMRC Keybindings

Instead of Obsidian hotkeys, use the obsidian-vimrc-support plugin to map keys like gn or gp.

Caveat: works only when editor mode is on.

Example .obsidian.vimrc:

" navigation to neighbouring files
exmap next_file obcommand neighbouring-files:next
exmap prev_file obcommand neighbouring-files:prev
exmap next_file_alphabetical obcommand neighbouring-files:next-alphabetical
exmap prev_file_alphabetical obcommand neighbouring-files:prev-alphabetical
exmap older_file_created obcommand neighbouring-files:older-created
exmap newer_file_created obcommand neighbouring-files:newer-created
exmap older_file_modified obcommand neighbouring-files:older-modified
exmap newer_file_modified obcommand neighbouring-files:newer-modified
exmap folder_up obcommand neighbouring-files:folder-up
exmap folder_down obcommand neighbouring-files:folder-down
exmap folder_next obcommand neighbouring-files:folder-next
exmap folder_prev obcommand neighbouring-files:folder-prev
nmap gn :next_file<cr>
nmap gp :prev_file<cr>
nmap fu :folder_up<cr>
nmap fd :folder_down<cr>
nmap fn :folder_next<cr>
nmap fp :folder_prev<cr>

Contributing

Open source on GitHub. Issues and PRs welcome.

License

MIT License.

HealthExcellent
ReviewPassed
About
Navigate between neighbouring notes in your vault with commands to jump to next/previous files, move up/down folders, or loop within a folder. Sort by name, creation or modification date and limit or expand which file types are included in navigation.
NavigationFilesFolders
Details
Current version
1.2.2
Last updated
3 days ago
Created
3 years ago
Updates
15 releases
Downloads
7k
Compatible with
Obsidian 1.13.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Support
Author
fabianuntermoserfabianuntermoser
fabianuntermoser.com
GitHubfabianuntermoser
  1. Community
  2. Plugins
  3. Navigation
  4. Neighbouring Files

Related plugins

Quick Explorer

Perform file explorer operations (and see your current file path) from the title bar, using the mouse or keyboard.

GridExplorer

Browse and organize note files visually in a flexible grid layout.

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

Recent Files

Display a list of recently opened files.

Folder notes

Create notes within folders that can be accessed without collapsing the folder, similar to the functionality offered in Notion.

Open Tab Settings

Adds options to customize how tabs are opened, including open in new tab by default, preventing duplicate tabs, and more.

Reveal Active File Button

Add a button to the top of the File Explorer, to reveal the active file.

Remember cursor position

Remember cursor and scroll position for each note.

Custom File Explorer sorting

Manual or automatic config-driven reordering and sorting of files and folders in File Explorer.

Flexplorer

Enhance the file explorer with custom sorting, pinning, and hiding.