Hide Commands in Menu

by bomian98
5
4
3
2
1
Score: 54/100

Description

Category: Customization & UI

The Hide Commands in Menu plugin allows users to declutter Obsidian's interface by selectively hiding commands across various menus. It enables users to remove unwanted commands from context menus, including those from community plugins, and automatically eliminates redundant dividers when commands are hidden. Advanced users can apply regex pattern matching for more granular control. Additionally, the plugin injects custom CSS classes, providing options for further styling and customization.

Reviews

No reviews yet.

Stats

10
stars
1,068
downloads
1
forks
444
days
234
days
262
days
4
total PRs
0
open PRs
0
closed PRs
4
merged PRs
6
total issues
0
open issues
6
closed issues
0
commits

Latest Version

9 months ago

Changelog

What's Changed

Full Changelog: https://github.com/bomian98/obsidian-hide-commands-in-menu/compare/0.1.8...0.1.9

README file from

Github

🕶️ Hide Commands in Menus

This plugin allows you to hide any commands, including those from community plugins.

Prerequisite

Before using this plugin, ensure you have disabled "Native menus" in Obsidian's Appearance settings!

Features

  • Hide different commands across various menus in Obsidian.
  • Automatically remove redundant dividers when commands are hidden.
  • Inject different CSS classes for menu styling control.
  • Use regex pattern matching for advanced rule configurations.

Menu Types

Menu Types

Menu Type Trigger Location
file-menu (tab-header) Right-click file tab
file-menu (more-options) Click workspace ··· button
file-menu (file-explorer) Right-click file/folder in explorer
file-menu (link) Right-click internal link
files-menu (file-explorer) Right-click multiple explorer items
editor-menu Right-click in editor view
url-menu Right-click external link
other-menu Any other menu

Note: When in the editor view, right-clicking a link will also trigger either the url-menu or file-menu (link).

To examine the displayed menu, utilize Obsidian's Developer Tools to inspect the menu's HTML class.

Usage

Check the "Menu Types" section for the location of the menu you want to hide commands in.

Then in the plugin settings, choose the menu type and enter the commands you want to hide.

For "plain text format", you can enter the whole command name or part of it.

For "regex format", you can use regex pattern matching.

As this plugin modifies the menu item after it has been displayed, a certain delay time is required to ensure that the menu is fully rendered.

The default delay time is set to 1 millisecond. If hiding does not work as intended, you can adjust this value in the plugin settings.

If hiding does not work when the delay time exceeds 1 second, please report it as an issue on the GitHub repository.

Customize Styles

  • Select hide-commands: div.custom-menu-hide-item
  • Select hide-separators: div.custom-menu-hide-separator
  • Select different menus:
Menu Type CSS Selector
file-menu (tab-header) .file-menu-tab-header
file-menu (more-options) .file-menu-more-options
file-menu (file-explorer) .file-menu-file-explorer-context-menu
file-menu (link) .file-menu-link-context-menu
files-menu (file-explorer) .files-menu-file-explorer-context-menu
editor-menu .editor-menu
url-menu .url-menu
other-menu [class="menu"]

Development Roadmap

  • Develop hide commands across multiple menus.
  • Hide redundant separators when all enclosed commands are hidden.
  • Regex support.
  • Multi-language support.

Contributing

The settingTab UI of this plugin is not good. It would be my pleasure if someone can give suggestions for improvement.

Suggestions for other issues of this plugin are also welcome!

License

This project is licensed under the MIT License. See the LICENSE file for details.

Thanks

This plugin was initially a fork of kzhovn's excellent obsidian-customizable-menu.

Enjoy a cleaner Obsidian experience! 🚀

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Homepage
5 years ago by mirnovov
An Obsidian plugin that opens a specified note, canvas, or workspace on startup, instead of the most recent one.
Hider
6 years ago by @kepano
Hide Obsidian UI elements such as tooltips, status, titlebar and more
Iconic
2 years ago by Holo
Customize your icons and colors directly from the Obsidian UI, including tabs, files & folders, bookmarks, tags, properties, and ribbon commands.
Task Genius
4 years ago by Boninall
Comprehensive task management plugin for Obsidian
File Explorer++
3 years ago by kelszo
A plugin for https://obsidian.md, which enables the ability to hide and pin specific files and folders in the file explorer by applying custom filters.
Editor Width Slider
3 years ago by @MugishoMp
With this plugin you can set the line width of the editor in obsidian.
CSS Editor
3 years ago by Zachatoo
Edit CSS snippets in Obsidian.
Image Context Menus
5 years ago by NomarCub
Image Context Menus - Obsidian.md image context menus: copy, open in default app, show in system explorer, reveal in navigation context menu. Also Open PDF externally context menu.
Regex Find and Replace
4 years ago by Martin Eder
Plugin for Obsidian, providing search/replace functionality which supports regular expressions and selections.
Icon Shortcodes
4 years ago by AidenLx
Obsidian Plugin: Insert emoji and custom icons with shortcodes
Task Board
a year ago by Atmanand Gauns
An Obsidian plugin to view and manage your tasks from whole vault using much efficient boards using various methodologies.
Global Search and Replace
3 years ago by Mahmoud Fawzy Khalil
A plugin to do a global search and replace in all your Obsidian vault files.
Beautitab
2 years ago by Andrew McGivery
A plugin for Obsidian.MD that creates a customizable new tab view with beautiful backgrounds, quotes, search, and more.
Slash Commander
2 years ago by alephpiece
Customizable slash command list for Obsidian.md
Ninja Cursor
4 years ago by vorotamoroz
Archiver
5 years ago by ivan-lednev
Archive completed tasks in your Obsidian vault (plus other org-mode-like features)
Hotkeys for specific files
5 years ago by Vinzent
Customizable Menu
5 years ago by kzhovn
This plugin allows you to add every command to Obsidian's right-click context menu and add custom icons.
Background Image
3 years ago by shmolf
Dynamic Highlights
4 years ago by nothingislost
An experimental Obsidian plugin that highlights all occurrences of the word under the cursor
Regex Pipeline
5 years ago by No3371
An Obsidian plugin that allows users to setup custom regex rules to automatically format notes.
Callout menu
2 years ago by Anareaty
ZettelFlow
3 years ago by RafaelGB
ZettelFlow is a plugin for Obsidian that helps you to create and manage your notes in a Zettelkasten way.
Find and replace in selection
5 years ago by Dmitry Savosh
Obsidian plugin. Find and replace in selection.
Emoji Magic
3 years ago by simplgy
Makes it easier to add emojis using an improved keyword search
ToggleList
4 years ago by Lite C
This is a simple plugin for Obsidian to overwrite the default behavior of toggle checkbox status. Also, it offers a simple way to toggle through frequently used attributes: task states, task tags, highlighted list, etc.
Bulk Rename
4 years ago by Oleg Lustenko
Auto Hide
4 years ago by skelato1
This Obsidian plugin enables you to collapse (and expand) the sidebar easier.
Swiss army knife
3 years ago by mwoz123
Custom window title
5 years ago by Joost Plattel
Small Obsidian plugin that updates the window title with the current open note
Task Marker
3 years ago by wenlzhang
An Obsidian plugin to change task status and append text with hotkeys and right-click context menu.
Font Size Adjuster
2 years ago by Ryota Ushio
An Obsidian.md plugin to adjust font size via commands.
Status Bar Organizer
2 years ago by Kacper Darowski
Arrange and hide status bar elements.
New Tab +
2 years ago by Raphaël Le Carval
Allow to open markdown files, graph and canvas in new tab as the default behavior.
Better Plugins Manager
a year ago by zero
Open with
5 years ago by phibr0
Vim Toggle
3 years ago by Conner Ohnesorge
This is a plugin that adds the ability to toggle on and off vim into obsidian with a nice notice to let you know when you switched.
Tag Project
3 years ago by Odaimoko
Task Status
2 years ago by Valerie Burzynski
Quickly change any task status in Obsidian. The searchable modal enables a more dynamic and indiscriminate workflow when you need to change your checkbox markers.
Fontsource
2 years ago by Ayuhito
A plugin to load custom fonts from Fontsource into Obsidian.
Regex Mark
2 years ago by Mara-Li
Linkify
4 years ago by Matthew Chan
aDHL
a year ago by tine-schreibt
The Dynamic Highlights Plugin, but with hotkeys, more options and sorting; works well with Highlightr.
Weekly Review
3 years ago by Brandon Boswell
Node Auto Resize
2 years ago by Boninall
Rapid Notes
3 years ago by valteriomon
Sequence Hotkeys
4 years ago by Ruan Moolman
Obsidian plugin to support a sequenced of keyboard shortcuts to run commands.
Canvas Card Background Remover
2 years ago by luxmargos
This Obsidian plugin allows you to make the background of cards transparent in the Canvas for specific embed types, including Image (png), Canvas, and even Markdown.
Command Alias
5 years ago by @Yajamon
Obsidianのコマンドに対してエイリアスを設定するプラグイン
File Explorer Markdown Titles
5 years ago by Dylan Elliott
Obsidian Plugin that adds the the markdown title within your notes to the file explorer
Blur
3 years ago by @gapmiss
A plugin for creating obfuscated blocks of text in Obsidian.md
Collapsible Code Blocks
a year ago by Bradley Wyatt
Obsidian Plugin that makes code blocks collapsible in reading and edit view as well as enabling scroll-able code blocks.
Tag Buddy
2 years ago by David Fasullo
Unlock powerful tag editing features in Reading Mode. Add, remove and edit tags across your vault. Use tag inboxes to level up any workflow with a powerful idea assembly line.
AutoMover
a year ago by Al0cam
Move files and notes with specified names into their designated folders according to rules you define.
Custom State for Task List
3 years ago by Okami Wong
A plugin for Obsidian to define your own states for task items.
Zen Mode
a year ago by paperbenni
Note Chain
2 years ago by ZigHolding
Package my frequently used tools, highly personal plugins.
Command Palette--
4 years ago by qawatake
An Obsidian plugin to provide a command palette without unwanted commands
Tokei
3 years ago by HiroMike
A simple clock for Obsidian
Full Screen Toggle
2 years ago by Donkey Pacific
Fullscreen toggle plugin across all platforms for Obsidian.
Overdue
4 years ago by Peter Parente
Obsidian plugin that marks items as [[Overdue]] if they are not checked off by their due date
open-as-md
2 years ago by kursad-k
open and edit preferred formats as markdown in Obsidian
File chucker
3 years ago by Ken Lim
GTD No Next Step
3 years ago by Tobias Davis
Obsidian plugin for GTD workflow, badge projects with no next step.
Auto Hide Cursor
3 years ago by Mo Ismat
A simple plugin for https://obsidian.md
Additional Icons
2 years ago by Matthew Turk
Add additional iconsets to Obsidian
Open File by Magic Date
4 years ago by simplgy
Explorer Colors
a year ago by Scott Van der Zwet
Set cascading colors for files and folders in Obsidian.
R.E.L.A.X.
2 years ago by Syr
Regex Obsidian Plugin
Auto Reading Mode
3 years ago by Kelvin Cao
Cloud Atlas
2 years ago by Cloud Atlas
Cloud Atlas Obsidian Client
Shrink pinned tabs
2 years ago by Nicolas Lœuillet
Obsidian plugin to shrink pinned tabs in order to save screen space
Extended Task Lists
2 years ago by joeriddles
Extended Markdown support for task lists in Obsidian.
Color cycler
2 years ago by Taylor Brennan
Plugin for Obsidian to dynamically change the accent color
Spacekeys
a year ago by Jared Lumpe
Obsidian plugin to define hotkeys based on sequences of keypresses.
Next Link
3 years ago by Juan Luque
Custom save
2 years ago by Hananoshika Yomaru
add custom save action to your save command
Context Command Hider
a year ago by Mara-Li
This plugin allows you to hide every command from the Obsidian's right-click context menu.
Editor Autofocus
2 years ago by Mgussekloo
Cursor Position History
a year ago by Florian Gubler
A Plugin to remember (and make accessible) the cursor history in Obsidian. Both within a file and across files.
Templated daily notes
2 years ago by digitorum
Allow to create templayted daily note in specific folder
Theme by Folder
a year ago by Jinmu Go
Automatically switch Obsidian themes based on the folder of the opened note
Tag Formatter
2 years ago by snsvrno
Configurable Obsidian plugin that hides parent tags.
FileName Styler
a year ago by Marc Feininger
An Obsidian plugin to hide, customize, and decorate file names in the sidebar using regex and customizable profiles.
Jira Issue Manager
a year ago by Alamion
Obisdian plugin to sync tasks between Obsidian and Jira
New Note Fixer
a year ago by mnaoumov
Obsidian Plugin that unifies the way non-existing notes are created when clicking on their links
Canvas Blocks
2 years ago by Kay606
Personal OS
2 years ago by A.Buot
Quick Open
2 years ago by James Alexandre
Quickly select items in any modal using keyboard shortcuts. Supercharge your workflow with fast, efficient item selection in Obsidian modals.
Backgroundset
a year ago by daonali
similar as vscode background
Wheel Tab Switcher
a year ago by 22-2
Switch between Obsidian Tabs using your mouse wheel when hovering over tab headers.
Notice logger
2 years ago by @gapmiss
An Obsidian.md plugin for logging all notices to the developer console, with optional prefix & timestamp.
Auto Replacer
10 months ago by Alecell
A live text replacement plugin that applies automatic formatting, corrections, or custom replacements in real-time. Define your own regex-based rules and transformation logic to modify text dynamically as you type.
Smooth Cursor
a year ago by Busyo
Obsidian光标美化插件
Theme Controller
a year ago by Binaris
Set when and how the themes will be displayed
NodeFlow
a year ago by LincZero
Render node streams like `ComfyUi`, `UE`, `Houdini`, `Blender`, etc., to make it easy to write relevant notes. json describes the chart, compared to screenshots, making it easier to modify later. The plugin is also compatible with blogs.",
LinkMagic
2 years ago by AndyReifman
Tag Links
2 years ago by Zacchary Dempsey-Plante
A plugin for Obsidian that allows tags to be opened as links using a hotkey.
Peekaboo
2 years ago by Wang Guoshi
An Obsidian plugin protects your privacy by setting a password to hide notes.
Alias Picker
2 years ago by rostunic
Task Mover
a year ago by Mariia Nebesnaia
A plugin for obsidian to move unfinished tasks to the daily note automatically
URL Formatter
8 months ago by Thomas Snoeck
Automatically formats specific URLs pasted into Obsidian into clean Markdown links.
Asana
a year ago by Ryan Bantz
Obsidan plugin that creates tasks in Asana for highlighted text or the current line
Custom Selected Word Count
a year ago by banisterious
Custom Selected Word Count for Obsidian
Blue Star
2 years ago by Wang Guoshi
A plugin for Obsidian that generates Anki flashcards in various ways.
Runsh
a year ago by Ddone
A simple plugin that allows to run shell commands from obsidian.
Outline to task list
2 years ago by alexandrerbb
A simple Obsidian plugin to convert a note's outline to a task list
BlazeJump
a year ago by henryco
Plugin for Obsidian that makes text navigation blazingly fast.
Regex Line Filter
a year ago by 64MM4-KN1F3
A note filtering plugin for Obsidian
URI Converter
a year ago by wenlzhang
An Obsidian plugin to convert Obsidian URIs to Obsidian internal links.
Hide Traffic Lights
a month ago by Ben Phillips
Hides macOS traffic light buttons for a distraction-free experience. Hover over the top-left corner to reveal them.
Close Window When Empty
2 years ago by Taylor Jadin
Previous Daily Note
a year ago by Marcos Talau
Plugin for Obsidian that opens the previous daily note
Bottom to Top
a year ago by Henry Gustafson