keybind fix

This commit is contained in:
jhe 2024-06-05 09:22:10 +02:00
parent 67f33f32a3
commit ef18a80a92
No known key found for this signature in database
GPG key ID: 10FFC60F6B8DC9B7
2 changed files with 22 additions and 4 deletions

View file

@ -684,9 +684,9 @@ require('lazy').setup({
-- No, but seriously. Please read `:help ins-completion`, it is really good!
mapping = cmp.mapping.preset.insert {
-- Select the [n]ext item
['<S-CR>'] = cmp.mapping.select_next_item(),
['<S-j>'] = cmp.mapping.select_next_item(),
-- Select the [p]revious item
['<C-p>'] = cmp.mapping.select_prev_item(),
['<S-k>'] = cmp.mapping.select_prev_item(),
-- Scroll the documentation window [b]ack / [f]orward
['<C-b>'] = cmp.mapping.scroll_docs(-4),