Use ctrl+delete to abort nvim-cmp popups so it doesn't make deleting characters forward annoying in input mode

This commit is contained in:
Kevin MacMartin 2024-11-08 12:21:03 -05:00
parent 0013dfea9a
commit d865a80795

View file

@ -43,7 +43,7 @@ if (vim.g.enablecompletion == 1) then
end
end, { "i", "s" }),
["<Del>"] = cmp.mapping.abort(),
["<C-Del>"] = cmp.mapping.abort(),
["<CR>"] = cmp.mapping.confirm({ select = false }),
}),