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

Horizontal Swipe Gestures

Justin RosalesJustin Rosales71 downloads

Two-finger trackpad swipes mapped to any command.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

An Obsidian plugin that maps two-finger horizontal trackpad swipes to any command — back/forward navigation by default.

How it works

Listens to the browser WheelEvent API (how web/Electron apps receive trackpad input on any platform), detects horizontal-enough movement, and fires the configured command. No proprietary Apple gesture API.

Features

  • Map any Obsidian command to swipe left or right
  • Configurable sensitivity and horizontal dominance
  • Visual half-circle indicator on trigger
  • macOS momentum scroll filtering — releases after your finger lifts, not during the inertia tail
  • Desktop only (trackpad/mouse)

Installation

Clone into your vault's plugin folder:

cd <your vault>/.obsidian/plugins
git clone https://github.com/justinrosales/obsidian-swipe-gestures

Reload Obsidian and enable Horizontal Swipe Gestures in Settings → Community Plugins. No build step — main.js is included.

To build from source: npm install && npm run build in the plugin folder.

Settings

Setting Description
Swipe left action Command on left swipe (default: Navigate back)
Swipe right action Command on right swipe (default: Navigate forward)
Invert direction Flip left/right if reversed
Swipe sensitivity Low = light flick triggers, High = deliberate swipe
Horizontal dominance Low = diagonal counts, High = only straight left/right
HealthExcellent
ReviewPassed
About
Map two-finger horizontal trackpad swipes to any Obsidian command, defaulting to back and forward navigation. Adjust swipe sensitivity and horizontal dominance, enable macOS momentum filtering, and show a visual half-circle indicator at the note edge when a swipe triggers.
CommandsNavigationInterface
Details
Current version
1.0.1
Last updated
3 weeks ago
Created
Last month
Updates
2 releases
Downloads
71
Compatible with
Obsidian 1.6.6+
Platforms
Desktop only
License
0BSD
Report bugRequest featureReport plugin
Author
Justin RosalesJustin Rosalesjustinrosales
GitHubjustinrosales
  1. Community
  2. Plugins
  3. Commands
  4. Horizontal Swipe Gestures

Related plugins

Quick Switcher++

Enhanced Quick Switcher, search open panels, and symbols.

Commander

Customize your workspace by adding commands everywhere, create macros and supercharge your mobile toolbar.

Note Toolbar

Add customizable toolbars to your notes.

Tab Switcher

Switch your tabs with Ctrl + Tab in recently used order like in a browser.

Lean Terminal

Embedded terminal panel powered by xterm.js and node-pty - no external windows.

Hover Editor

Transform the Page Preview hover popover into a fully working editor instance.

Hotkey Helper

Easily see and access any plugin's settings or hotkey assignments (and conflicts) from the Community Plugins tab.

Dragger

Drag and drop any block (paragraphs, headings, lists, etc.) to rearrange content like Notion.

Tray

Run Obsidian from the system tray for customisable window management and global quick notes.

Leader Hotkeys

Add leader hotkey support to any command (like tmux or vim).