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

new filetype for chatgpt window : feature request #137

Open
danielreis1 opened this issue May 14, 2024 · 2 comments
Open

new filetype for chatgpt window : feature request #137

danielreis1 opened this issue May 14, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@danielreis1
Copy link

with a new filetype for the popup window I can have shortcuts specific for that filetype, in this case specific for when using the popup window for chatgpt
otherwise I have to add markdown filetype specific shortcuts, which feels wierd.

when I write :set ft in the gpt window I get: markdown
not sure if I can add shortcuts that work only when using the popup window for example, if you guys know any, let me know

just to explain with a couple very simple examples:
I want when using the popup window only to use the key: to toggle the window, in this case toggling would mean it would disappear, this is easily done by adding the hotkey in a file with the correct filetype under ftplugin/
I also want to use enter to send the message to chatgpt, and not a new hotkey.

Not sure if I am seeing something wrong and this can already be done in a better way, let me know.

using neovim
thanks.

@Robitx Robitx added the enhancement New feature or request label Aug 4, 2024
@strayer
Copy link

strayer commented Aug 28, 2024

I have linters running on markdown files that are complaining a lot about the chat window. Having a different filetype would help here as well.

@Robitx
Copy link
Owner

Robitx commented Aug 28, 2024

This and lots of other fixes/improvements is slowly being cooked in GpDo branch

image

main...GpDo

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

No branches or pull requests

3 participants