Changing the control based shortcuts to use the uppercase C when defined for consistency.

This commit is contained in:
2024-03-04 14:33:55 -06:00
parent 55765e8cf6
commit bd1a378da5
3 changed files with 11 additions and 9 deletions

View File

@@ -15,12 +15,12 @@ return {
ghost_text = true,
},
mapping = {
['<c-n>'] = cmp.mapping.select_next_item(),
['<c-p>'] = cmp.mapping.select_prev_item(),
['<c-j>'] = cmp.mapping.scroll_docs(-4),
['<c-k>'] = cmp.mapping.scroll_docs(4),
['<c-space>'] = cmp.mapping.complete(),
['<c-y>'] = cmp.mapping.confirm({
['<C-n>'] = cmp.mapping.select_next_item(),
['<C-p>'] = cmp.mapping.select_prev_item(),
['<C-j>'] = cmp.mapping.scroll_docs(-4),
['<C-k>'] = cmp.mapping.scroll_docs(4),
['<C-space>'] = cmp.mapping.complete(),
['<C-y>'] = cmp.mapping.confirm({
behavior = cmp.ConfirmBehavior.Insert,
select = true,
}),