| Summary | Turns off Discourse’s own keyboard shortcuts (j/k, ?, g-sequences, r, l, b…) for everyone | |
| Repository | GitHub - somos-criptonautas/discourse-disable-keyboard-shortcuts: Discourse theme component: turns off Discourse's own keyboard shortcuts (j/k, ?, g-sequences) · GitHub | |
| Install Guide | How to install a theme or theme component | |
| New to Discourse Themes? | Beginner’s guide to using Discourse Themes |
Install this theme component
Turns off Discourse’s own single-key shortcuts, so members stop liking posts, leaving pages or logging out by accident. Browser, OS and composer keys keep working.
What it does
- Pauses every default shortcut from core’s keyboard-shortcuts service, except:
Ctrl+Alt+F(search),Ctrl/Cmd+P(print) andShift+F11(full-screen composer)o/Enter(open the selected topic)
- Hides the keyboard button in the sidebar footer and the shortcut hints in dropdown menus, so the help modal doesn’t list keys that do nothing.
Composer shortcuts (Ctrl+B, Ctrl+I, Ctrl+Enter…) and shortcuts added by other plugins keep working, but their hints in dropdown menus are hidden too.
Settings
None. Install it to turn shortcuts off, remove it to bring them back.
Known limits
The list of shortcuts is copied from core. A shortcut core adds in a future version stays active until the component is updated. PRs welcome.