Skip to content
Discussion options

You must be logged in to vote

Oh - the base setup function doesn't let you run it twice. We can probably do this...

require 'blink.cmp.config'.merge_with({
  keymap = {
    preset = 'none',
    [ your binds ],
  }
})
require 'blink.cmp.keymap'.setup()

Which seems to work for me. Give it a go, but I can't say how stable it'll be since I imagine there's a reason it doesn't want to run twice usually. (Edit: ALSO, I guess you should put keymap = { preset = 'none' } in the opts table in the plugin spec to stop it creating the default binds before this code runs!)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Shmerlard
Comment options

@i-am-egg
Comment options

Answer selected by Shmerlard
@Shmerlard
Comment options

@i-am-egg
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