Skip to content

new filetype for chatgpt window : feature request #137

@danielreis1

Description

@danielreis1

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions