nixvim(cmp): configure keymaps the way i like them

This commit is contained in:
Khaïs COLIN 2024-07-27 16:20:58 +02:00
parent 8b9a12e428
commit ed932da1f6
2 changed files with 7 additions and 1 deletions

View file

@ -8,6 +8,12 @@
{ name = "path"; }
{ name = "buffer"; }
];
mapping = {
"<CR>" = "cmp.mapping.confirm({ select = true })";
"<Tab>" = "cmp.mapping(cmp.mapping.select_next_item({'i', 's'}))";
"<S-Tab>" = "cmp.mapping(cmp.mapping.select_prev_item({'i', 's'}))";
};
};
};
}