Use Delete instead of Leader to cancel the nvim-cmp popup

This commit is contained in:
Kevin MacMartin 2024-03-06 00:41:19 -05:00
parent 75b1337274
commit 44075669be

View file

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