From 5eff1787a91b338f1dbc1eab8cb06fb3e3fa375b Mon Sep 17 00:00:00 2001 From: kanishka-sahoo Date: Fri, 8 Nov 2024 08:50:46 +0530 Subject: [PATCH] Changed default completion from C-Space to C-y --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 4ce35f4b..9d480c66 100644 --- a/init.lua +++ b/init.lua @@ -784,7 +784,7 @@ require('lazy').setup({ -- Accept ([y]es) the completion. -- This will auto-import if your LSP supports it. -- This will expand snippets if the LSP sent a snippet. - [''] = cmp.mapping.confirm { select = true }, + [''] = cmp.mapping.confirm { select = true }, -- If you prefer more traditional completion keymaps, -- you can uncomment the following lines @@ -795,7 +795,7 @@ require('lazy').setup({ -- Manually trigger a completion from nvim-cmp. -- Generally you don't need this, because nvim-cmp will display -- completions whenever it has completion options available. - [''] = cmp.mapping.complete {}, + [' as moving to the right of your snippet expansion. -- So if you have a snippet that's like: