From 94cb86f6d9f45a5b6c2278af6d82419f8d67d29c Mon Sep 17 00:00:00 2001 From: Tibor Schmidt Date: Sun, 10 Dec 2023 23:28:18 +0100 Subject: [PATCH] Update README.md --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 35ec10c6..60dbef5d 100644 --- a/README.md +++ b/README.md @@ -171,7 +171,7 @@ Opens a dialog for entering a prompt. After providing prompt instructions into t `:GpRewrite {prompt}` Executes directly with specified `{prompt}` instructions, bypassing the dialog. Suitable for mapping repetitive tasks to keyboard shortcuts or for automation using headless Neovim via terminal or shell scripts. #### `:GpAppend` -Similar to [:GpRewrite](#gprewrite), but the answer is added after the current line, visual selection, or range. +Similar to `:GpRewrite`, but the answer is added after the current line, visual selection, or range. #### `:GpPrepend` Similar to `:GpRewrite`, but the answer is added before the current line, visual selection, or range. @@ -199,7 +199,8 @@ Provides custom context per repository: - Opens `.gp.md` file for a given repository in a toggable window. - Appends selection/range to the context file when used in visual/range mode. - Refer to [Custom Instructions](#custom-instructions) for more details. -- Supports display targeting subcommands similar to `GpChatNew`. +- Also supports subcommands for layout specification: + - `:GpContext vsplit` Open `.gp.md` in a vertical split window. - `:GpContext split` Open `.gp.md` in a horizontal split window. - `:GpContext tabnew` Open `.gp.md` in a new tab. @@ -210,7 +211,7 @@ Provides custom context per repository: #### `:GpWhisper` Transcription replaces the current line, visual selection or range in the current buffer. Use your mouth to ask a question in a chat buffer instead of writing it by hand, dictate some comments for the code, notes or even your next novel.. -For the rest of the whisper commands, the transcription is used as an editable prompt for the equivalent non whisper command (`GpWhisperRewrite` dictates instructions for `GpRewrite` etc.). +For the rest of the whisper commands, the transcription is used as an editable prompt for the equivalent non whisper command - `GpWhisperRewrite` dictates instructions for `GpRewrite` etc. #### `:GpWhisperRewrite` Similar to `:GpRewrite`, but the prompt instruction dialog uses transcribed spoken instructions.