Skip to content

Instantly share code, notes, and snippets.

@LinnJS
Created June 30, 2023 00:55
Show Gist options
  • Save LinnJS/794241c290a81157944571a8ff8324de to your computer and use it in GitHub Desktop.
Save LinnJS/794241c290a81157944571a8ff8324de to your computer and use it in GitHub Desktop.
/*
# Main Menu Cheat Sheet
> Open a Widget that displays the Main Menu Cheat Sheet
*/
// Name: Main Menu Reference
// Description: List of Main Menu Features
// Index: 0
let cheatSheet = `
# Main Menu Cheat Sheet
## Scripts
| Script | Key |
| ------------------------- | - |
| App Launcher | ; |
| File Browser | / |
| Terminal | > |
| Clipboard | < |
| Calculator | 1-9 |
| Emoji Picker | 0 |
| Scratch Pad | , |
| File Search | . |
| View Snippets | ' |
| Word API | " |
| System Commands | - |
| Dev Tools Window | = |
| Google Suggest | ~ |
| Google | \` |
| GitHub Discussions | ? |
## Actions
| Actions | Shortcut |
| ------------------------- | --------- |
| Run Selected Script | return |
| Reveal Actions | right arrow |
| Debug Script (Pro) | ${cmd}+return |
| Show Log Window (Pro) | opt+return |
| New Script | ${cmd}+n |
| Edit Script | ${cmd}+o |
| Share Script on GitHub | ${cmd}+s |
| Export Script | ${cmd}+e |
| Copy Script Contents | ${cmd}+c |
| Paste Script as Markdown | ${cmd}+shift+p |
| Open Log | ${cmd}+l |
| Open Kenv in VS Code | ${cmd}+shift+o |
| Create/Edit Script Docs | ${cmd}+. |
| Reveal Script in Finder | ${cmd}+shift+f |
| Manage Running Processes | ${cmd}+p |
`.trim()
let { workArea } = await getActiveScreen()
await widget(md(cheatSheet), {
height: workArea.height,
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment