Skip to content

Commit

Permalink
Improved Onboarding, fixed small shortcut UI error. (#110)
Browse files Browse the repository at this point in the history
* Draft #1 on updating welcome.md file

* Draft #2 of welcome.md: deleted a few shortcuts, put shortcuts in table format, and made tutorial line pop out more using bold and font size.

* fixed wrong shortcut display

* Update extensions/vscode/media/welcome.md

---------

Co-authored-by: Duke Pan <59063950+Fryingpannn@users.noreply.github.com>
  • Loading branch information
jspEclipse and Fryingpannn authored Jul 23, 2024
1 parent 9e7f2fc commit 661200b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
22 changes: 15 additions & 7 deletions extensions/vscode/media/welcome.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
# 👋 Welcome to PearAI

Welcome! Select a model on the right side to get started. You can head over to the tutorial.py tab for a quick intro on what PearAI can do, or just get started coding immediately - have fun!
Welcome! Select a model on the right side to get started.

## 🔑 Most important shortcuts
**If you want to take a quick tutorial on what PearAI can do you can head over to <span style="font-size: 1.2em;">[tutorial.py](../pearai_tutorial.py)</span>.**

> If you'd prefer different keys, these shortcuts can be customized in VS Code settings.

<kbd>Cmd/Ctrl</kbd> + <kbd>L</kbd> = Select code
If you want to skip the tutorial you can just start coding immediately - Happy Coding!

<kbd>Cmd/Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>L</kbd> = Select code for follow-up
## 🔑 Important Shortcuts

<kbd>Cmd/Ctrl</kbd> + <kbd>I</kbd> = Quick edit
> If you'd prefer different keys, these shortcuts can be customized in PearAI settings.
<kbd>Cmd/Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>R</kbd> = Automatically debug terminal
| Description | Keybinds |
|------------------------------------|---------------------------------------------|
| Select Code + New Session | <kbd>Cmd/Ctrl</kbd> + <kbd>L</kbd> |
| Close Pear Chat | <kbd>Cmd/Ctrl</kbd> + <kbd>;</kbd> |
| Toggle Enlarged Chat | <kbd>Cmd/Ctrl</kbd> + <kbd>[</kbd> |
| Add Selected Code to Current Chat | <kbd>Cmd/Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>L</kbd> |
| Inline Prompting | <kbd>Cmd/Ctrl</kbd> + <kbd>I</kbd> |
| Bring Latest Terminal Error to Chat| <kbd>Cmd/Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>R</kbd> |
| Toggle History | <kbd>Cmd/Ctrl</kbd> + <kbd>O</kbd> |
| Go To Previous Chat | <kbd>Cmd/Ctrl</kbd> + <kbd>0</kbd> |
4 changes: 2 additions & 2 deletions gui/src/components/dialogs/KeyboardShortcuts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ const vscodeShortcuts: KeyboardShortcutProps[] = [
description: "Enlarge Pear chat",
},
{
mac: "⌘ :",
windows: "⌃ :",
mac: "⌘ ;",
windows: "⌃ ;",
description: "Close Pear chat",
},
{
Expand Down

0 comments on commit 661200b

Please sign in to comment.