Skip to content

Commit b1de50b

Browse files
modifies default hotkey to be "Control ~" (#291)
* modifies default hotkey to be Control ~ * adds changeset --------- Co-authored-by: Alem Tuzlak <[email protected]>
1 parent ba7842e commit b1de50b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/every-baths-wash.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@tanstack/devtools': minor
3+
---
4+
5+
modifies default hotkey to be Control ~, replacing Shift A

packages/devtools/src/context/devtools-store.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export type DevtoolsStore = {
4949
panelLocation: 'top' | 'bottom'
5050
/**
5151
* The hotkey to open the dev tools
52-
* @default ["Shift", "A"]
52+
* @default ["Control", "~"]
5353
*/
5454
openHotkey: Array<KeyboardKey>
5555
/**
@@ -99,7 +99,7 @@ export const initialState: DevtoolsStore = {
9999
hideUntilHover: false,
100100
position: 'bottom-right',
101101
panelLocation: 'bottom',
102-
openHotkey: ['Shift', 'A'],
102+
openHotkey: ['Control', '~'],
103103
inspectHotkey: ['Shift', 'CtrlOrMeta'],
104104
requireUrlFlag: false,
105105
urlFlag: 'tanstack-devtools',

0 commit comments

Comments
 (0)