change yes completion from C-y to enter.

This commit is contained in:
Oscar Pinochet 2025-02-03 00:21:44 -03:00
parent bb4fe07d17
commit 90063935ad
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -1007,7 +1007,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.
['<C-y>'] = cmp.mapping.confirm { select = true },
['<enter>'] = cmp.mapping.confirm { select = true },
-- If you prefer more traditional completion keymaps,
-- you can uncomment the following lines