mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
nixvimConfigs/fiesta/setups/completion: add more keymaps for nvim-cmp
This commit is contained in:
parent
4a2b55bdde
commit
d47b8383a0
@ -20,6 +20,16 @@ in
|
||||
"<C-d>" = "cmp.mapping.scroll_docs(-4)";
|
||||
"<C-u>" = "cmp.mapping.scroll_docs(4)";
|
||||
"<C-g>" = "cmp.mapping.close()";
|
||||
|
||||
"<C-n>" = {
|
||||
action = "cmp.mapping.select_next_item()";
|
||||
modes = [ "i" "s" ];
|
||||
};
|
||||
"<C-p>" = {
|
||||
action = "cmp.mapping.select_prev_item()";
|
||||
modes = [ "i" "s" ];
|
||||
};
|
||||
|
||||
"<Tab>" = {
|
||||
action = "cmp.mapping.select_next_item()";
|
||||
modes = [ "i" "s" ];
|
||||
|
Loading…
Reference in New Issue
Block a user