jackMort / ChatGPT.nvim

ChatGPT Neovim Plugin: Effortless Natural Language Generation with OpenAI's ChatGPT API
Apache License 2.0
3.64k stars 312 forks source link

Scroll down chat window doesn't work #263

Closed Fissium closed 8 months ago

Fissium commented 1 year ago

Pressing <C-d> doesn't scroll down the chat window. Instead, I got the error cannot add empty message. image

I use AstroNvim neovim config.

Config:

return {
  "jackMort/ChatGPT.nvim",
  cmd = { "ChatGPT", "ChatGPTActAs", "ChatGPTEditWithInstructions", "ChatGPTRun" },
  dependencies = {
    "MunifTanjim/nui.nvim",
    "nvim-lua/plenary.nvim",
    "nvim-telescope/telescope.nvim",
  },
  opts = {},
}
Fissium commented 1 year ago

It seems that [Chat] scrolls the chat window and [Chat] draft message (creates a message without sending it to the server) use the same mapping.

jackMort commented 8 months ago

i remaped default draft message keybinding