Skip to content

Commit

Permalink
chore: auto-generate vimdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 10, 2023
1 parent d25424b commit 77480a9
Showing 1 changed file with 44 additions and 37 deletions.
81 changes: 44 additions & 37 deletions doc/gp.nvim.txt
Original file line number Diff line number Diff line change
Expand Up @@ -143,55 +143,62 @@ https://github.com/Robitx/gp.nvim/blob/7d802f54fb503f27fc9722656efddb05a533f4cf/
COMMANDS *gp.nvim-commands*


CHAT ~
GPCHAT ~


:GpChatNew *:GpChatNew*

Open a fresh chat in the current window. It can be either empty or include the
visual selection or specified range as context. This command also supports
subcommands for layout specification: - `:GpChatNew vsplit` Open a fresh chat
in a vertical split window. - `:GpChatNew split` Open a fresh chat in a
horizontal split window. - `:GpChatNew tabnew` Open a fresh chat in a new tab.
subcommands for layout specification:

- `:GpChatNew vsplit` Open a fresh chat in a vertical split window.
- `:GpChatNew split` Open a fresh chat in a horizontal split window.
- `:GpChatNew tabnew` Open a fresh chat in a new tab.
- `:GpChatNew popup` Open a fresh chat in a popup window.


:GpChatPaste *:GpChatPaste*

>
: Paste the selection or specified range into the latest chat, simplifying the addition of code from multiple files into a single chat buffer. This command also supports subcommands for layout specification:
- `:GpChatPaste vsplit`
: Paste into the latest chat in a vertical split window.
- `:GpChatPaste split`
: Paste into the latest chat in a horizontal split window.
- `:GpChatPaste tab`
: Paste into the latest chat in a new tab.
- `:GpChatPaste popup`
: Paste into the latest chat in a popup window.
<
Paste the selection or specified range into the latest chat, simplifying the
addition of code from multiple files into a single chat buffer. This command
also supports subcommands for layout specification:

- `:GpChatPaste vsplit` Paste into the latest chat in a vertical split window.
- `:GpChatPaste split` Paste into the latest chat in a horizontal split window.
- `:GpChatPaste tab` Paste into the latest chat in a new tab.
- `:GpChatPaste popup` Paste into the latest chat in a popup window.


:GpChatToggle *:GpChatToggle*

Open chat in a toggleable popup window, showing the last active chat or a fresh
one with selection or a range as a context. This command also supports
subcommands for layout specification:

- `:GpChatToggle vsplit` Toggle chat in a vertical split window.
- `:GpChatToggle split` Toggle chat in a horizontal split window.
- `:GpChatToggle tab` Toggle chat in a new tab.
- `:GpChatToggle popup` Toggle chat in a popup window.


:GpChatFinder *:GpChatFinder*

Open a dialog to search through chats.


:GpChatRespond *:GpChatRespond*

Request a new GPT response for the current chat. Usin`:GpChatRespond N` request
a new GPT response with only the last N messages as context, using everything
from the end up to the Nth instance of `🗨:..` (N=1 is like asking a question
in a new chat).


:GpChatDelete *:GpChatDelete*

- *`:GpChatToggle`*
`:GpChatToggle` Open chat in a toggleable popup window, showing the last active chat or a fresh one with selection or a range as a context. This command also supports subcommands for layout specification:
- *`:GpChatToggle-vsplit`*
`:GpChatToggle vsplit` Toggle chat in a vertical split window.
- *`:GpChatToggle-split`*
`:GpChatToggle split` Toggle chat in a horizontal split window.
- *`:GpChatToggle-tab`*
`:GpChatToggle tab` Toggle chat in a new tab.
- *`:GpChatToggle-popup`*
`:GpChatToggle popup` Toggle chat in a popup window.
- *`:GpChatFinder`*
`:GpChatFinder` Open a dialog to search through chats.
- *`:GpChatRespond`*
`:GpChatRespond` Request a new GPT response for the current chat.
- *`:GpChatRespond-N`*
`:GpChatRespond N` Request a new GPT response with only the last N messages as context, using everything from the end up to the Nth instance of `🗨:..` (N=1 is like asking a question in a new chat).
- *`:GpChatDelete`*
`:GpChatDelete` Delete the current chat.
Delete the current chat. By default requires confirmation before delete, which
can be disabled in config using `chat_confirm_delete = false,`.


TEXT/CODE OPERATIONS ~
Expand Down

0 comments on commit 77480a9

Please sign in to comment.