Skip to content

Commit 1227daa

Browse files
committed
Add shortcut to open Assistant
1 parent 9583e8c commit 1227daa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/store/modules/keybindings.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,11 @@ export const loadKeybindings = async (store: Store<any>) => {
126126

127127
goTo('/docs')
128128
})
129+
bindGlobal('mod+shift+/', () => {
130+
store.dispatch(DISABLE_LISTENERS)
131+
132+
goTo('/assistant')
133+
})
129134

130135
// disable listeners on any click
131136
window.addEventListener('click', () => store.dispatch(DISABLE_LISTENERS))

0 commit comments

Comments
 (0)