README file from
GithubDesktop 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:
- Open Settings → Community plugins and turn off Restricted mode.
- Select Browse, search for Desktop Sidebar Gestures, and select Install.
- Select Enable.
Manual install:
- Download
main.jsandmanifest.jsonfrom the latest release. - Copy them into
<vault>/.obsidian/plugins/desktop-sidebar-gestures/. - 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
wheelheuristics 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.