QuickOpenSettings Interface
The Quick Select plugin exposes two configurable settings through theQuickOpenSettings interface.
Settings
The keyboard modifier key used to activate Quick Select shortcuts.Options:
"metaKey"- Meta key (⌘ on macOS, ⊞ Win on Windows)"ctrlKey"- Control key (Ctrl)"altKey"- Alt key (Alt/Option)
"metaKey"This setting determines which modifier key you hold down in combination with number keys (1-9) to quickly select items in modals.The visual transition style for Quick Select number counters.Options:
"none"- No transition, counters appear/disappear instantly"fade"- Counters fade in and out smoothly"slide"- Counters slide in with animation"permanent"- Counters remain visible at all times
"slide"This setting controls how the numbered counters appear when you hold down the modifier key. The "permanent" option is useful if you want counters always visible without holding a key.Default Settings
The plugin initializes with these default values:Platform-Specific Behavior
The
metaKey setting maps to different physical keys depending on your platform:- macOS: Command key (⌘)
- Windows: Windows key (⊞)
- Linux: Super key
Settings are stored in Obsidian’s plugin data directory and persist across sessions. Changes take effect immediately without requiring a restart.
Accessing Settings
To configure Quick Select:- Open Obsidian Settings
- Navigate to Community plugins
- Find Quick Select in the plugin list
- Click the gear icon or select the plugin to access settings
Implementation Details
The settings are implemented insrc/settings.ts:6-14 and managed by the QuickOpenSettingTab class. When you change the modifier key, the plugin updates keyboard event listeners to respond to the new key. When you change the transition style, the plugin applies CSS classes to document.body to control the visual behavior: