diff --git a/docs/core-features.md b/docs/core-features.md index be3f3a8..8e80a6b 100755 --- a/docs/core-features.md +++ b/docs/core-features.md @@ -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!** \ No newline at end of file diff --git a/docs/important-shortcuts.md b/docs/important-shortcuts.md index 5959594..c81a17c 100644 --- a/docs/important-shortcuts.md +++ b/docs/important-shortcuts.md @@ -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.