Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 30, 2024
1 parent d6b447f commit 628f4e0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
4 changes: 1 addition & 3 deletions .docs/src/content/docs/reference/copilot.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ description: Interact with AI copilot tools

Copilot commands interact with GitHub copilot. There are also commands for [Codeium](https://codeium.com/) and [Continue](https://www.continue.dev/)


### Inline chat / refactoring / code generation

There are some commands to interact with the inline chat, leveraging Cursorless targets:
Expand All @@ -31,8 +30,7 @@ There are some commands to interact with the chat sidebar:
| `"pilot bring <ordinal>"` | inserts nth code block in most recent chat response into your editor at cursor position | `"pilot bring first"`, `"pilot bring last"`, `"pilot bring second last"` |
| `"pilot copy <ordinal>"` | copies nth code block in most recent chat response | `"pilot copy first"` |
| `"pilot bring <ordinal> <destination>"` | inserts nth code block in most recent chat response into your editor at Cursorless destination | `"pilot bring first after state air"`, `"pilot bring first to line air"` |
| `"pilot bring first to funk"` | replaces function containing your cursor with first code block in most recent chat response |

| `"pilot bring first to funk"` | replaces function containing your cursor with first code block in most recent chat response |

## Copilot command source

Expand Down
3 changes: 0 additions & 3 deletions .docs/src/content/docs/reference/gpt.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,10 @@ You can mix and match any combination of prompt, source, and destination.
| `model fix grammar to clip` | Fix typos in the selected text and put the result on the clipboard. `to clip` is a destination. |
| `model explain clip to window` | Explains the text on the clipboard and puts the response in a new browser window. `clip` is the source. `to window` is the destination. |



## Other model commands

There are also a few other special commands like `model please` and `model ask` that don't use a prompt, but instead use the user's arbitrary natural language request.


| Command | Description | Example |
| --------------------- | ----------------------------------------- | ----------------------------------------- |
| `model help` | Show the help menu with all the prompts | "model help" |
Expand Down

0 comments on commit 628f4e0

Please sign in to comment.