diff --git a/init.lua b/init.lua index bf934c54..7d84e913 100644 --- a/init.lua +++ b/init.lua @@ -809,6 +809,27 @@ require('lazy').setup({ -- See :h blink-cmp-config-keymap for defining your own keymap preset = 'default', + [''] = { + function(cmp) + if cmp.is_visible() then + return cmp.select_next() + end + end, + 'fallback', + }, + + [''] = { + function(cmp) + if cmp.is_visible() then + return cmp.select_prev() + end + end, + 'fallback', + }, + + [''] = { 'accept', 'fallback' }, + [''] = { 'show', 'show_documentation', 'hide_documentation' }, + [''] = { 'hide' }, -- For more advanced Luasnip keymaps (e.g. selecting choice nodes, expansion) see: -- https://github.com/L3MON4D3/LuaSnip?tab=readme-ov-file#keymaps },