CopilotC-Nvim / CopilotChat.nvim

Chat with GitHub Copilot in Neovim
https://copilotc-nvim.github.io/CopilotChat.nvim/
GNU General Public License v3.0
1.52k stars 71 forks source link

<CR> in insert mode submits the prompt instead of inserting a new line #246

Closed GuillaumeDesforges closed 5 months ago

GuillaumeDesforges commented 5 months ago

When I hit <CR> in insert mode in the chat window, it submits.

The only other binding I have on <CR> for imap is nvim-cmp.

Peek 2024-03-28 13-44

deathbeam commented 5 months ago

I think this is issue with being translated to , i had this exact same issue but I assumed its only for some terminals so i only fixed it in my config

GuillaumeDesforges commented 5 months ago

Thank you very much for the speedy response!