use c-y for confirm

This commit is contained in:
RingOfStorms (Joshua Bell) 2024-05-02 14:08:33 -05:00
parent 44fe840228
commit dcd85a95d2
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
lazy-lock.json
.nvimlog

View file

@ -57,7 +57,7 @@ return {
-- Accept ([y]es) the completion.
-- This will auto-import if your LSP supports it.
-- This will expand snippets if the LSP sent a snippet.
["<C-Space>"] = cmp.mapping.confirm({ select = true }),
["<C-y>"] = cmp.mapping.confirm({ select = true }),
-- If you prefer more traditional completion keymaps,
-- you can uncomment the following lines