change yes completion from C-y to enter.
This commit is contained in:
parent
bb4fe07d17
commit
90063935ad
2
init.lua
2
init.lua
|
@ -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…
Reference in New Issue