docs/.vitepress/theme/settingsState.ts

996d569334aead93e7388d2447be33599af3026c
wotaku/docs/.vitepress/theme/settingsState.ts

7 lines · 130 bytes

1import { ref } from 'vue'
2
3export const settingsOpen = ref(false)
4
5export function openSettings() {
6  settingsOpen.value = true
7}
Keyboard shortcuts

Global

⌘K
Command palette & jump
/
Focus search
?
Show this help
g d
Dashboard
g e
Explore repositories
g n
Notifications

Repository & editor

t
Find file in repository
y
Copy immutable SHA permalink
g c
Code tab
g i
Issues tab
g m
Merge requests tab
g b
Builds tab
⌘↵
Submit active form