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

Switch2Cursor

xingzixhhxingzixhh31 downloads

从 Obsidian 一键打开 Cursor:支持打开整个 Vault 或当前笔记并跳转到光标位置。

Add to Obsidian
  • Overview
  • Scorecard
  • Updates5

Open your vault or current note in Cursor with one click. Bridge your notes and AI coding workflow.

Repository: https://github.com/xingzixhh/switch2cursor

Features

  • Open vault: Open the entire vault folder in Cursor
  • Open current note: Open the active Markdown file in Cursor
  • Smart window reuse: Detect whether Cursor already has the target directory open (including sub-projects in .code-workspace); reuse the window if so, otherwise open a new one
  • File explorer context menu: Right-click any file or folder to open it in Cursor
  • Editor context menu: Right-click inside a note to jump to Cursor
  • Command palette: Open vault in Cursor / Open current file in Cursor
  • Ribbon icon: Click the external-link icon to open the current note

Installation

From the community plugin directory

  1. Open Settings → Community plugins → Browse
  2. Search for Switch2Cursor
  3. Install and enable the plugin

Manual install (development)

  1. Copy this project into your vault plugin folder:

    <your-vault>/.obsidian/plugins/switch-to-cursor/
    
  2. Build the plugin:

    npm install
    npm run build
    
  3. Enable Switch2Cursor under Settings → Community plugins

Requirements

  • Desktop app only (Windows / macOS / Linux)
  • Cursor installed, with the cursor CLI available (enable "Add to PATH" during installation)

Usage

Action How
Open current note Click the ribbon icon, or run Open current file in Cursor from the command palette
Open entire vault Run Open vault in Cursor from the command palette
Open a file or folder Right-click in the file explorer → Open in Cursor
Jump from editor Right-click inside a note → Open in Cursor

Configure the Cursor command path, cursor navigation, notifications, and debug options under Settings → Switch2Cursor.

Cursor CLI paths

Platform Default command
Windows C:\Program Files\Cursor\Cursor.exe
macOS /Applications/Cursor.app/Contents/MacOS/Cursor
Linux cursor

Development

npm install
npm run dev    # watch mode, outputs main.js
npm run build  # production build

Source code lives in src/. Internal documentation is available in project_document/.

Chinese documentation: README.zh-CN.md

License

MIT

HealthExcellent
ReviewSatisfactory
About
Open your Obsidian vault or the current Markdown file directly in the Cursor editor with smart window reuse to avoid duplicate windows. Open files or folders from the file tree or editor context menu, or use the command palette and sidebar icon for quick access.
IntegrationsFilesCommands
Details
Current version
1.0.4
Last updated
Last month
Created
Last month
Updates
5 releases
Downloads
31
Compatible with
Obsidian 1.13.0+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
xingzixhhxingzixhhxingzixhh
GitHubxingzixhh
  1. Community
  2. Plugins
  3. Integrations
  4. Switch2Cursor

Related plugins

Local REST API with MCP

Unlock your automation needs by interacting with your notes over a secure REST API.

Find orphaned files and broken links

Find files that are not linked anywhere and would otherwise be lost in your vault. In other words: files with no backlinks.

Google Drive Sync

Syncs a vault into Google Drive for cross-platform use (works for iOS).

Actions URI

Add additional `x-callback-url` endpoints to the app for common actions — it's a clean, super-charged addition to Obsidian URI.

Nutstore Sync

Sync your vault with Nutstore (坚果云) using WebDAV protocol.

Open in Terminal

Open your vault in a new terminal window or launch Claude Code, Codex CLI, or Gemini CLI directly from a terminal.

Notebook Navigator

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

BRAT

Easily install a beta version of a plugin for testing.

LanguageTool Integration

Advanced grammar and spell checking, powered by LanguageTool.

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.