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

Context Command Hider

MaraMara2k downloads

Hide any command from the right-click menu.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates7

This plugin allows you to hide any commands, including those of community plugins, to the right click menu.

[!WARNING] You need to disable "native menu" to use this. This option can be disabled in the "Appareance" > "Native menu"

Remove Commands

Add the name of the command to hide exactly as it appears in the Obsidian menu (unless the capitalization). Note that this setting will remove all instances of a command with that name from all context menus across Obsidian (note menu, file explorer menu, etc), not just the in-note menu. This means that in cases where a command with the same name appears in several different menus (for instance, "Open in default app" in both the file explorer menu and the note menu), it is currently impossible to hide just one of them.

If you would like to style the listed commands yourself, instead of simply removing them, the selector is div.custom-menu-hide-item.

Regex are supported if the text is enclosed by / (e.g. /^Open in default app$/), as flags (i, g, m, s) are supported.

You can try regex here but don't forget to set the flavor on ECMAScript (JavaScript).

When a command is added or removed, the menu will automatically hide them, without needing to reload Obsidian or the plugin.

Thanks

  • This plugin was initially a fork of phibr0's excellent customizable sidebar
  • The code for hiding menu items comes in part from Panossa's Mindful Obsidian
  • The original code for this plugin was written by kzhovn. I removed part that is now handle by Obsidian Commander and reworked the settings. As the ID of the plugin was changed, you can import safely your old settings with the big button "Import old settings" and copy and paste the string you eventually have before.
HealthGood
ReviewSatisfactory
About
Hide any context-menu command across Obsidian, including community-plugin commands, by exact name or by regex. Apply hides globally across all context menus (note, file explorer, etc.), cannot target identical command names per-menu, and see changes take effect instantly without reloading. Disable Obsidian's native menu to enable the plugin.
CommandsInterface
Details
Current version
0.0.7
Last updated
Last year
Created
2 years ago
Updates
7 releases
Downloads
2k
Compatible with
Obsidian 0.12.11+
Platforms
Desktop, Mobile
License
OTHER
Report bugRequest featureReport plugin
Sponsor
Ko-fi
Author
MaraMaramara-li
github.com/Mara-Li
GitHubmara-li
  1. Community
  2. Plugins
  3. Commands
  4. Context Command Hider

Related plugins

Commander

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

Note Toolbar

Add customizable toolbars to your notes.

Tray

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

Hotkey Helper

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

Lean Terminal

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

Refresh Any View

Allows to refresh any view without reopening it.

Slash Commander

Customize the slash command list, assign each command an icon.

Hider

Hide interface elements such as tooltips, status bar, titlebar, and more.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Quick Switcher++

Enhanced Quick Switcher, search open panels, and symbols.