Disable Commands – Custom Key Binding in Command Palette

Описание

Disable Commands – Custom Key Binding gives you full control over the WordPress Command Palette (introduced in WordPress 6.9).

This plugin is essential if you need to:
* Resolve keyboard shortcut conflicts with other software or browser extensions.
* Simplify the admin interface for yourself or your clients.
* Prevent the accidental triggering of the command palette.
* Customize the default shortcut to better fit your personal workflow.

Features include:
1. Disable Command Palette: A simple toggle to completely disable the wp-commands script.
2. Custom Key Binding: Remap the command palette shortcut to any combination of modifier keys (Ctrl/Cmd, Alt, Shift) and a single letter, number, or punctuation key. For example, use Ctrl + Shift + P instead of the default Ctrl/Cmd + K.

All settings are managed from a single, user-friendly page in the WordPress admin.

Configuration

On the plugin’s settings page, you will find two main sections:

1. Disable Command Palette
* Option: Check this box to disable the WordPress admin command palette (Cmd+K / Ctrl+K).

2. Custom Key Binding
* Override Default Shortcut: Check this box to activate the custom shortcut feature.
* Shortcut Combination: Use the checkboxes to select your desired modifier keys (Ctrl, Shift, Alt, Cmd/Meta) and the input field to define a single character key (e.g., ‘k’, ‘p’, ‘/’). The default combination is Ctrl/Cmd + K.

Снимки на разширението

  • The main settings page.
    • The „Disable Command Palette“ toggle.

Инсталиране

  1. Search WordPress org and Upload the plugin files to the /wp-content/plugins directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Navigate to Settings > Disable Commands to configure the plugin options.

ЧЗВ

Does this plugin disable the Command Palette in the Site Editor?

Currently, this plugin primarily targets the admin command palette script (wp-commands) in the WordPress dashboard.

Can I re-enable the palette after disabling it?

Yes. Simply uncheck the „Disable Command Palette“ option on the settings page and save your changes.

Can I use multiple modifier keys for my custom shortcut?

Yes. You can select any combination of the available modifier keys (Ctrl, Cmd/Meta, Alt, Shift) along with a single character key.

What happens if I define a shortcut that’s already in use by my browser?

The plugin will assign the shortcut within WordPress, but browser shortcuts typically take priority. It is recommended to choose a combination not heavily used by your browser to avoid conflicts.

Отзиви

There are no reviews for this plugin.

Сътрудници и разработчици

“Disable Commands – Custom Key Binding in Command Palette” е софтуер с отворен код. Към разширението са допринесли следните хора:

Сътрудници

Списък с промени

1.0.0

  • Initial release with core functionality:
    • Ability to completely disable the command palette.
    • Full custom key binding support to remap the shortcut.