yetone / avante.nvim

Use your Neovim like using Cursor AI IDE!
Apache License 2.0
5.18k stars 171 forks source link

bug: suggestions keymap custom not work #568

Closed reaink closed 2 days ago

reaink commented 5 days ago

Describe the bug

set opts

      behaviour = {
        auto_suggestions = true,
      },

      mappings = {
        suggestion = {
          accept = "<C-e>",
          next = "<C-]>",
          prev = "<C-[>",
          dismiss = "<C-.>",
        },
      },

insert mode. C-e not work

To reproduce

No response

Expected behavior

No response

Environment

neovim NVIM v0.10.1 Build type: Release LuaJIT 2.1.1713484068 Run "nvim -V1 -v" for more info

platform mac 14.5

Repro

vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {
    -- add any other plugins here
  },
})
Fefevs09 commented 4 days ago

I have the same problem