We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4744399 commit 3632818Copy full SHA for 3632818
3 files changed
.changeset/add-question-mark-key.md
@@ -0,0 +1,5 @@
1
+---
2
+'@tanstack/hotkeys': patch
3
4
+
5
+Add `?` to supported punctuation keys for `Mod+?` help shortcut
packages/hotkeys/src/constants.ts
@@ -290,6 +290,7 @@ export const EDITING_KEYS = new Set<EditingKey>([
290
*/
291
export const PUNCTUATION_KEYS = new Set<PunctuationKey>([
292
'/',
293
+ '?',
294
'[',
295
']',
296
'\\',
packages/hotkeys/src/hotkey.ts
@@ -116,6 +116,7 @@ export type EditingKey =
116
117
export type PunctuationKey =
118
| '/'
119
+ | '?'
120
| '['
121
| ']'
122
| '\\'
0 commit comments