Skip to content
Discussion options

You must be logged in to vote

how can I unbind tab, and bind and , like I had in my old config, but in blink.cmp?

Ah got it! This is because <Tab> in the super-tab preset you're using fall backs to snippet_forward action when no completion item can be accepted. You need to override the <Tab> keybind:

opts = {
  keymap = {
    preset = 'super-tab',
    ['<Tab>'] = {
      function(cmp)
        if cmp.snippet_active() then
          return cmp.accept()
        else
          return cmp.select_and_accept()
        end
      end,
      -- 'snippet_forward',
      'fallback',
    },
  },
  -- ...
},

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@soifou
Comment options

soifou Nov 7, 2025
Collaborator

@jannes-io
Comment options

@jannes-io
Comment options

@soifou
Comment options

soifou Nov 7, 2025
Collaborator

Answer selected by jannes-io
@jannes-io
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants