-
hi, i like to keep my keymaps all organized in one file
i tried to do something similiar like this in blink but couldnt get it to work
it only works when setting |
Beta Was this translation helpful? Give feedback.
Answered by
i-am-egg
Jul 15, 2025
Replies: 1 comment 4 replies
-
Try this: require 'blink.cmp'.setup {
keymap = {
preset = 'none',
},
}
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oh - the base setup function doesn't let you run it twice. We can probably do this...
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!)