-
-
Notifications
You must be signed in to change notification settings - Fork 126
Description
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.