use c-y for confirm
This commit is contained in:
parent
44fe840228
commit
dcd85a95d2
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
lazy-lock.json
|
||||
.nvimlog
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue