change yes completion from C-y to enter.

pull/1580/head
Oscar Pinochet 5 months ago
parent bb4fe07d17
commit 90063935ad
No known key found for this signature in database

@ -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

Loading…
Cancel
Save