diff --git a/.docs/src/content/docs/reference/gpt.mdx b/.docs/src/content/docs/reference/gpt.mdx index 52a4f43d..38bb9dba 100644 --- a/.docs/src/content/docs/reference/gpt.mdx +++ b/.docs/src/content/docs/reference/gpt.mdx @@ -9,10 +9,10 @@ import FetchedData from "../../../components/FetchedData.astro"; GPT commands make requests to an LLM endpoint. In our grammar, each GPT command is prefixed with the word `model`. A model command has 4 parts -- `model` -- A prompt name -- A source _(optional; defaults to selected text)_ -- A destination _(optional; defaults to paste)_ +- `model` +- A prompt name +- A source _(optional; defaults to selected text)_ +- A destination _(optional; defaults to paste)_ You can mix and match any combination of prompt, source, and destination. diff --git a/copilot/copilot.talon b/copilot/copilot.talon index 3874fc92..1758e356 100644 --- a/copilot/copilot.talon +++ b/copilot/copilot.talon @@ -10,16 +10,17 @@ pilot nope: user.vscode("editor.action.inlineSuggest.undo") pilot cancel: user.vscode("editor.action.inlineSuggest.hide") pilot block last: user.vscode("workbench.action.chat.previousCodeBlock") pilot block next: user.vscode("workbench.action.chat.nextCodeBlock") -pilot new file : - user.copilot_focus_code_block(ordinal_or_last) +pilot new file : + user.copilot_focus_code_block(cursorless_ordinal_or_last) user.vscode("workbench.action.chat.insertIntoNewFile") -pilot copy : - user.copilot_focus_code_block(ordinal_or_last) +pilot copy : + user.copilot_focus_code_block(cursorless_ordinal_or_last) edit.copy() -pilot bring : user.copilot_bring_code_block(ordinal_or_last) -pilot bring {user.makeshift_destination} : +pilot bring : + user.copilot_bring_code_block(cursorless_ordinal_or_last) +pilot bring {user.makeshift_destination} : user.cursorless_command(makeshift_destination, cursorless_target) - user.copilot_bring_code_block(ordinal_or_last) + user.copilot_bring_code_block(cursorless_ordinal_or_last) pilot chat []$: user.copilot_chat(prose or "") pilot {user.copilot_slash_command} [to ]$: user.cursorless_command("setSelection", cursorless_target)