feat: rework blink.cmp keybinds to free up tab

This commit is contained in:
Youwen Wu 2024-12-29 15:58:42 -08:00
parent ccbfdf6d6b
commit 75b5ff151c
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -8,11 +8,15 @@ return {
require("blink.cmp").setup({
keymap = {
preset = "default",
["<Tab>"] = {},
["<S-Tab>"] = {},
["<C-g>"] = {
function()
require("blink-cmp").show({ providers = { "ripgrep" } })
end,
},
["<C-k>"] = { "snippet_forward", "fallback" },
["<C-j>"] = { "snippet_backward", "fallback" },
},
appearance = {
use_nvim_cmp_as_default = true,