feat: add setting to toggle keyboard shortcuts on/off (#27300)

This commit is contained in:
G30 authored and GitHub committed 2026-07-23 22:14:56 -04:00
1 parent 4f823774ab
commit 3132f11e55
7 files changed
+45 -3

No files matched your search

+4
View File
@@ -248,6 +248,10 @@
const setupKeyboardShortcuts = () => {
document.addEventListener('keydown', async (event) => {
if ($settings?.keyboardShortcuts === false) {
return;
}
const shortcut = matchKeybinding(event);
if (shortcut === Shortcut.SEARCH) {
console.log('Shortcut triggered: SEARCH');