Updated cmp keymappings
This commit is contained in:
parent
b4eea8a8cd
commit
da371b4483
|
@ -3,8 +3,10 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
mapping = {
|
mapping = {
|
||||||
"<C-p>" = "cmp.mapping.scroll_docs(-4)";
|
"<C-n>" = "cmp.mapping.select_next_item()";
|
||||||
"<C-n>" = "cmp.mapping.scroll_docs(4)";
|
"<C-p>" = "cmp.mapping.select_prev_item()";
|
||||||
|
"<C-u>" = "cmp.mapping.scroll_docs(-4)";
|
||||||
|
"<C-d>" = "cmp.mapping.scroll_docs(4)";
|
||||||
"<C-Space>" = "cmp.mapping.complete()";
|
"<C-Space>" = "cmp.mapping.complete()";
|
||||||
"<C-e>" = "cmp.mapping.abort()";
|
"<C-e>" = "cmp.mapping.abort()";
|
||||||
# Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items.
|
# Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items.
|
||||||
|
|
Loading…
Reference in a new issue