docs/.vitepress/theme/settingsState.ts

630a1d5b7627dbd2750db7358739cea630c8f349
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