This commit is contained in:
Your Name 2026-03-06 22:45:31 +08:00
parent d130d5241b
commit 4c2f34b689
1 changed files with 8 additions and 0 deletions

View File

@ -888,6 +888,14 @@ require('lazy').setup({
--
-- See :h blink-cmp-config-keymap for defining your own keymap
preset = 'default',
['<cr>'] = { 'accept', 'fallback' },
['<c-x>'] = {
function(cmp)
cmp.show { providers = { 'lsp' } }
end,
},
['<c-up>'] = { 'fallback' },
['<c-down>'] = { 'fallback' },
-- For more advanced Luasnip keymaps (e.g. selecting choice nodes, expansion) see:
-- https://github.com/L3MON4D3/LuaSnip?tab=readme-ov-file#keymaps