nvim-cmp: add keybind for arrow keys
This commit is contained in:
parent
806098a0a5
commit
3a0838448b
1 changed files with 3 additions and 1 deletions
|
@ -52,7 +52,9 @@ return {
|
||||||
end
|
end
|
||||||
end, { "i", "s" }),
|
end, { "i", "s" }),
|
||||||
|
|
||||||
['<CR>'] = cmp.mapping.confirm(),
|
["<CR>"] = cmp.mapping.confirm(),
|
||||||
|
["<Up>"] = cmp.mapping.select_prev_item({ behavior = "select" }),
|
||||||
|
["<Down>"] = cmp.mapping.select_next_item({ behavior = "select" }),
|
||||||
},
|
},
|
||||||
|
|
||||||
-- snippet engine
|
-- snippet engine
|
||||||
|
|
Loading…
Reference in a new issue