Mobile Sidebar Notes

unlisted

by Chris Kephart

Open notes in left or right mobile sidebars with commands, quick tabs, and optional auto-pin.

11 starsUpdated 1mo ago0BSD
View on GitHub

Mobile Sidebar Notes

Open notes or new tabs in the sidebar in the mobile app. While this plugin works as expected on desktop for loading notes in the sidebar and adds commands, this functionality is already built-in on desktop.

Features

  • Commands to open new empty sidebar tabs (left or right)
  • Set specific notes as commands for quick sidebar access (compatible with hotkeys)
  • Choose left or right sidebar per note command (right is default for new commands)
  • Move the active tab into a sidebar (or back to the main area) while keeping its scroll position
  • Move core views such as Files, Search, or Bookmarks between the sidebars, either from their tab menu or with a picker
  • Open today's daily note directly in a sidebar (uses the core Daily notes settings)
  • Close all note tabs in a sidebar, or deduplicate repeated notes, in one command
  • Duplicate prevention for the same note in the same sidebar
  • Auto-pin tabs so links open in new tabs instead of replacing the current one
  • Autocomplete path suggestions for markdown note paths
  • Invalid or missing note paths are flagged and those commands are not registered

Installation

  1. Download the latest release from the Releases page
  2. Extract files to .obsidian/plugins/mobile-sidebar-notes/ in your vault
  3. Reload Obsidian and enable the plugin in Settings

Usage

  1. Go to Settings → Mobile Sidebar Notes
  2. Click "Add Command" to configure a sidebar note command
  3. Enter a display name, note path (autocomplete suggests markdown notes), and choose left or right sidebar
  4. Use commands or the new sidebar tab commands to access notes

or simply:

  1. Run "Open new right sidebar tab" or "Open new left sidebar tab"
  2. Open a note in that sidebar tab

Commands

  • Open [configured title or note path] in [left/right] sidebar: Opens configured notes in the chosen sidebar
  • Open new right sidebar tab: Creates empty tab in the right sidebar
  • Open new left sidebar tab: Creates empty tab in the left sidebar
  • Move active tab to right/left sidebar: Moves the tab you're viewing into that sidebar, preserving scroll position; the original is closed
  • Move active tab to main area: Moves the active sidebar tab back into the main editor area
  • Move a sidebar tab to the other sidebar: Lists every tab in both sidebars, including core views like Files or Search, and moves the one you pick to the opposite side
  • Close all note tabs in right/left sidebar: Closes note (and empty) tabs in that sidebar; core views like Search or Backlinks are left untouched
  • Deduplicate sidebar note tabs: Closes repeated copies of the same note within each sidebar
  • Open today's daily note in right/left sidebar: Resolves today's daily note (creating it if needed) and opens it in the sidebar

Settings

General

  • Auto-pin tabs: Automatically pin notes opened in the sidebar so links open in new tabs instead of replacing them (enabled by default)

Commands

  • Commands: Add/remove notes to create commands for sidebar access. Each command has a title, note path, and sidebar side selector. Commands are only registered when the note path is valid.

Tips

  • Within the sidebar, press and hold on the dropdown of the note for options such as closing, pinning, renaming, and moving the tab to the main area or the other sidebar.
  • A main-area note's menu (press and hold its tab/dropdown) gains "Move to left/right sidebar" too, handy when a note opens in the center instead of the sidebar it was triggered from.
  • Core views like Files, Search, and Bookmarks get the same move options, from any tab in the sidebar list rather than only the one currently on screen. Search keeps its query when moved.
  • Moving the last tab out of a sidebar leaves a new tab behind, so there is still something there to open a file from.
  • Tabs tend to persist between sessions / after opening unless manually closed.
  • Duplicate tabs are prevented when opening the same note in the same sidebar.
  • This is a standard editor tab, so most core note functionality should be preserved.
  • Any notes opened will continue to work as normal even if the plugin is disabled.

Contributing

Feel free to make suggestions and issues/PRs, though please consider that I'd like to keep this plugin simple and focused.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.