Desktop Sidebar Gestures

approved

by Jared

Directional desktop swipe gestures for opening and closing Obsidian sidebars. - This plugin has not been manually reviewed by Obsidian staff.

2 stars96 downloadsUpdated 2mo agoMIT

Desktop Sidebar Gestures

Directional desktop swipe gestures for opening and closing the left and right sidebars.

This plugin adds horizontal swipe gestures on desktop:

  • Swipe right: close the right sidebar if it is open, otherwise open the left sidebar if it has content.
  • Swipe left: close the left sidebar if it is open, otherwise open the right sidebar if it has content.

Installation

From within the app:

  1. Open Settings → Community plugins and turn off Restricted mode.
  2. Select Browse, search for Desktop Sidebar Gestures, and select Install.
  3. Select Enable.

Manual install:

  1. Download main.js and manifest.json from the latest release.
  2. Copy them into <vault>/.obsidian/plugins/desktop-sidebar-gestures/.
  3. Reload the app, then enable the plugin under Settings → Community plugins.

Usage

Once enabled, swipe horizontally on your trackpad anywhere in the app:

  • Swipe right — closes the right sidebar if open, otherwise opens the left sidebar.
  • Swipe left — closes the left sidebar if open, otherwise opens the right sidebar.

Empty or unavailable sidebars do not open on swipe. There is nothing to configure.

Notes

  • Empty or unavailable sidebars do not open on swipe.
  • The plugin uses internal wheel heuristics rather than native OS swipe APIs, so two-finger horizontal swipes are what trigger it.

Development

  • Symlink this repo into your vault's plugins directory for faster iteration.
  • Reload community plugins after each change.

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.