new filetype for chatgpt window : feature request
danielreis1 opened this issue · 2 comments
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.
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.