Why I can't submit the prompt by <C-CR>? #158
Answered
by
ariel-frischer
basheewang
asked this question in
Q&A
-
I am press in both input and normal mode, but nothing happened... I am also trying to setup the shortcut to , but I don't know why it doesn't work. Can anyone help me? Here is my config, I am using NvChad: ["MunifTanjim/nui.nvim"] = { module = "nui" },
["jackMort/ChatGPT.nvim"] = {
cmd = { "ChatGPT", "ChatGPTActAs" },
config = function()
require("chatgpt").setup {
popup_input = {
submit = "<C-t>",
},
}
end,
}, |
Beta Was this translation helpful? Give feedback.
Answered by
ariel-frischer
Dec 10, 2023
Replies: 1 comment
-
Your terminal probably send some different keystroke depending on your terminal/pc. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jackMort
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your terminal probably send some different keystroke depending on your terminal/pc.
Also, the mapping you have listed
<c-t>
isctrl + t
notctrl + enter
. Maybe you want to try<c-cr>
.https://stackoverflow.com/a/23549950/1715153