more natural LSP selection
This commit is contained in:
parent
2b25b70c29
commit
40d21b0364
2 changed files with 9 additions and 3 deletions
|
|
@ -38,8 +38,10 @@ return {
|
|||
["<C-u>"] = cmp.mapping.scroll_docs(-4),
|
||||
["<C-d>"] = cmp.mapping.scroll_docs(4),
|
||||
["<C-l>"] = cmp.mapping.confirm({ select = true }), -- accept LSP autocompletion
|
||||
["<C-p>"] = cmp.mapping.select_prev_item(cmp_select),
|
||||
["<C-n>"] = cmp.mapping.select_next_item(cmp_select),
|
||||
--["<C-p>"] = cmp.mapping.select_prev_item(cmp_select),
|
||||
["<C-k>"] = cmp.mapping.select_prev_item(cmp_select),
|
||||
--["<C-n>"] = cmp.mapping.select_next_item(cmp_select),
|
||||
["<C-j>"] = cmp.mapping.select_next_item(cmp_select),
|
||||
["<C-f>"] = cmp_action.luasnip_jump_forward(),
|
||||
["<C-b>"] = cmp_action.luasnip_jump_backward(),
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue