Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions docs/core-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,26 @@ Quick terminal debug: Use `CMD+SHIFT+R` to add the last terminal text to your ch
```

This flexibility enables you to create powerful and reusable custom commands tailored to your specific workflow needs.


- **🛠️ Setting Up Tab Autocomplete in PearAI**

PearAI supports tab autocomplete, and this is how to set this up. Tab autocomplete predicts / suggests what you would type next as you’re coding!

This is the guide to do that:

- **Setup Codestral**

We recommend using **Codestral**, a leading model for code completion (or Fill In Middle - FIM). It's open-source and highly efficient. To get started, you'll need to obtain a Codestral API key from the [Mistral API](https://console.mistral.ai "Mistral API")

- **Add to PearAI config.json (Fill in “YOUR_API_KEY” with your API key.):**

```json
"tabAutocompleteModel": {
"title": "Codestral",
"provider": "mistral",
"model": "codestral-latest",
"apiKey": "YOUR_API_KEY"
}

- **Enjoy the development speed up with autocomplete!**
20 changes: 10 additions & 10 deletions docs/important-shortcuts.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ keywords: [shortcuts, pearai, important shortcuts, pear ai shortcuts]

# ⏩ Important shortcuts

| Shortcut | Action |
| ------------- | -------------------------------- |
| `CMD+L` | New chat (with selected code) |
| `CMD+SHIFT+L` | Append selected code |
| `CMD+;` | Close chat panel |
| `CMD+'` | Switch models |
| `CMD+\` | Make chat bigger |
| `CMD+0` | Previously opened chat |
| `CMD+H` | History |
| `CMD+SHIFT+R` | Bring last terminal text to chat |
| Action | Mac | Windows |
| -------------------------------- | -------- | -------- |
| New chat (with selected code) | `CMD+L` | `CTRL+L` |
| Append selected code | `CMD+SHIFT+L` | `CTRL+SHIFT+L` |
| Close chat panel | `CMD+;` | `CTRL+;` |
| Switch models | `CMD+'` | `CTRL+'` |
| Make chat bigger | `CMD+\` | `CTRL+\` |
| Previously opened chat | `CMD+0` | `CTRL+0` |
| History | `CMD+H` | `CTRL+H` |
| Bring last terminal text to chat | `CMD+SHIFT+R` | `CTRL+SHIFT+R` |

These shortcuts can be pressed again to toggle previous state.

Expand Down