diff --git a/docs/configuration/keymap.md b/docs/configuration/keymap.md index d82c5b86..f3d241ad 100644 --- a/docs/configuration/keymap.md +++ b/docs/configuration/keymap.md @@ -86,6 +86,8 @@ Set the preset to `none` to disable the presets [''] = { 'hide' }, [''] = { 'select_and_accept' }, +[''] = { 'select_prev', 'fallback' }, +[''] = { 'select_next', 'fallback' }, [''] = { 'select_prev', 'fallback' }, [''] = { 'select_next', 'fallback' }, diff --git a/lua/blink/cmp/config/keymap.lua b/lua/blink/cmp/config/keymap.lua index 6c82fb7c..8607c750 100644 --- a/lua/blink/cmp/config/keymap.lua +++ b/lua/blink/cmp/config/keymap.lua @@ -25,6 +25,8 @@ --- [''] = { 'cancel', 'fallback' }, --- [''] = { 'select_and_accept' }, --- +--- [''] = { 'select_prev', 'fallback' }, +--- [''] = { 'select_next', 'fallback' }, --- [''] = { 'select_prev', 'fallback' }, --- [''] = { 'select_next', 'fallback' }, --- diff --git a/lua/blink/cmp/keymap/presets.lua b/lua/blink/cmp/keymap/presets.lua index 1e7de161..746a66a4 100644 --- a/lua/blink/cmp/keymap/presets.lua +++ b/lua/blink/cmp/keymap/presets.lua @@ -6,6 +6,8 @@ local presets = { [''] = { 'cancel', 'fallback' }, [''] = { 'select_and_accept' }, + [''] = { 'select_prev', 'fallback' }, + [''] = { 'select_next', 'fallback' }, [''] = { 'select_prev', 'fallback' }, [''] = { 'select_next', 'fallback' },