Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send whole file as a context #143

Open
quolpr opened this issue Jun 23, 2024 · 1 comment
Open

Send whole file as a context #143

quolpr opened this issue Jun 23, 2024 · 1 comment

Comments

@quolpr
Copy link

quolpr commented Jun 23, 2024

Hi! Great plugin. I am curious - is it possible on GpAppend/GpPrepend send the enirre buffer + visual selection? So, the prompt will be something like:

For given file <path>:

---
...file
---

With this part code at lines <n>-<k>:
---
...selection
---

Do <something>

So chatgpt will have more context what is needed to do.

@quolpr
Copy link
Author

quolpr commented Jun 23, 2024

Oh, there is PR https://github.com/Robitx/gp.nvim/pull/142/files . Looks great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant