Closed cauliyang closed 1 year ago
I use LazyVim and here is my configuration:
the version is 3ff8403
{ "jackMort/ChatGPT.nvim", dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim", "nvim-telescope/telescope.nvim", }, config = function() require("chatgpt").setup({ keymaps = { submit = "<C-s>", close = { "jk", "kj", "<Esc>" }, yank_last = "<C-y>", scroll_up = "<C-u>", scroll_down = "<C-d>", toggle_settings = "<C-o>", new_session = "<C-n>", cycle_windows = "<Tab>", }, }) end, event = "VeryLazy", enabled = lvim.builtin.chatgpt.active, },
The keymaps configuration fails to set, and fall back to the default keymaps.
Finally, I find the reason cause the layout of the configuration has been changed. I also answer the question in another related issue. https://github.com/jackMort/ChatGPT.nvim/issues/105#issuecomment-1504718730
I use LazyVim and here is my configuration:
the version is 3ff8403
The keymaps configuration fails to set, and fall back to the default keymaps.