-
-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C-Enter in prompt will not submit #170
Comments
same here with lazy, I just installed and C-Enter doesn't submit |
What's the OS and terminal do you use? |
Windows 10 with WSL2 Ubuntu 20.04. Terminal from Microsoft.
…On Tue, 25 Apr 2023, 10:35 pm Jaeho Choi, ***@***.***> wrote:
What's the OS and terminal do you use?
—
Reply to this email directly, view it on GitHub
<#170 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD7KAL3CSUZDFFXEVCCIJQDXC7OLZANCNFSM6AAAAAAXKOBJA4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
i am also facing this issue, remapping the submit key also doesn't seem to work unless I am doing something wrong.
|
Windows Terminal has trouble entering some key combinations. See microsoft/terminal#530 (comment) |
I'm on OS X using iTerm 2 |
I'm experiencing the same in Gnome Terminal 3.44.0 on Linux. |
This is worked for me. chatgpt.setup({
popup_input = {
submit = "<CR>"
}
})
|
@tinnguyen189atnos That means you are no longer able to do multiline prompts, right? |
But I think the reason this works for @tinnguyen189atnos is that he is setting chatgpt.setup({
popup_input = {
submit = "<C-s>"
}
}) |
I was having this issue and it turned out to be how Windows terminal was handling |
@rogerkk @tinnguyen189atnos thanks very much! following remap works for me. chatgpt.setup({
popup_input = {
submit = "<CR>"
}
}) and @rogerkk yes you can still do multiline prompts. will enter newline character in windows terminal.
|
C-Enter in prompt will not submit. It will enter a new line in the prompt.
I am using Packer as my plugin manager.
below is list of plugin i use.
ChatGPT.nvim
LuaSnip
aerial.nvim
barbar.nvim
cmp-nvim-lsp
cmp_luasnip
everforest
friendly-snippets
gitsigns.nvim
lualine.nvim
marks.nvim
mason-lspconfig.nvim
mason.nvim
nui.nvim
nvim-autopairs
nvim-cmp
nvim-comment
nvim-lspconfig
nvim-notify
nvim-tree.lua
nvim-treesitter
nvim-web-devicons
nvim_context_vt
packer.nvim
plenary.nvim
telescope.nvim
toggleterm.nvim
trouble.nvim
i am using ShellGPT and it is working my zsh. thus, pretty sure my token is valid. just not sure why C-Enter is not submitting the prompt.
The text was updated successfully, but these errors were encountered: