update keymapping
This commit is contained in:
parent
2f48251e91
commit
da9d800647
|
@ -18,15 +18,10 @@
|
|||
'';
|
||||
# cmp mappings declaration
|
||||
mapping = {
|
||||
"<C-Tab>" = "cmp.mapping(cmp.mapping.select_next_item(), {'i', 's'})";
|
||||
"<C-e>" = "cmp.mapping.select_next_item()";
|
||||
"<C-n>" = "cmp.mapping.select_prev_item()";
|
||||
"<C-down>" = "cmp.mapping.select_next_item()";
|
||||
"<C-up>" = "cmp.mapping.select_prev_item()";
|
||||
"<C-esc>" = "cmp.mapping.abort()";
|
||||
"<C-b>" = "cmp.mapping.scroll_docs(-4)";
|
||||
"<C-f>" = "cmp.mapping.scroll_docs(4)";
|
||||
"<C-Space>" = "cmp.mapping.complete()";
|
||||
"<C-CR>" = "cmp.mapping.confirm({ select = true })";
|
||||
"<S-CR>" = "cmp.mapping.confirm({ behavior = cmp.ConfirmBehavior.Replace, select = true })";
|
||||
"<C-CR>" = "cmp.mapping.confirm({ behavior = cmp.ConfirmBehavior.Replace, select = true })";
|
||||
};
|
||||
};
|
||||
# Scans the sources array and enable the corresponding plugins if they are known to nixvim.
|
||||
|
|
Loading…
Reference in a new issue