CopilotC-Nvim / CopilotChat.nvim

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

Unable to add a line break #357

Closed sand4rt closed 1 month ago

sand4rt commented 2 months ago

I'm unable to add a line break when im in copilot-chat / insert mode. Im using the default config. When I type <cr> it submits the prompt.

deathbeam commented 2 months ago

submit_prompt = { normal = '', insert = '' },

Set the insert mapping to something else or empty string. Even thoyugh we should probably cahnge the default mapping as this is fairly common issue