Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Add support for blink.cmp #119

Open
gldtn opened this issue Oct 27, 2024 · 5 comments
Open

Feature request: Add support for blink.cmp #119

gldtn opened this issue Oct 27, 2024 · 5 comments

Comments

@gldtn
Copy link

gldtn commented Oct 27, 2024

Is it possible to add support for blink.cmp? https://github.com/Saghen/blink.cmp

Thanks!

@souavds
Copy link

souavds commented Nov 3, 2024

+1

Just switched to blink.cmp. I've tried to setup using the compatibility layer blink.compat repo but without any success. I'd really appreciate the support for blink.

@sieuwerts
Copy link

I have also tried to set this up like @souavds mentioned, also without success. I'm not really read up on how the compatibility layer works, so I'm not sure if this plugin is compatible right off the bat. But I would be very curious to see if/how this can be done if anyone manages to get it working.

@gldtn
Copy link
Author

gldtn commented Nov 4, 2024

I have not tried using blink.compat, by for those that still want/need copilot to function, you could do something like:

copilot:

{
	"zbirenbaum/copilot.lua",
	lazy = true,
	cmd = "Copilot",
	event = "InsertEnter",
	opts = {
		panel = { enabled = false },
		suggestion = {
			auto_trigger = true,
			keymap = {
				accept = "<TAB>",
				accept_word = "<C-w>",
				accept_line = "<C-l>",
				next = "<C-j>",
				prev = "<C-k>",
				dismiss = "<ESC>",
			},
		},
	},
}

And I make sure blink keymaps don't interfere blink..

blink-cmp:

require("blink.cmp").setup({
			keymap = {
				["<C-y>"] = { "accept", "fallback" },
				["<C-n>"] = { "select_next", "fallback" },
				["<C-p>"] = { "select_prev", "fallback" },
			},
})

It's not integrated but at least you get copilot completion.

@ecosse3
Copy link

ecosse3 commented Nov 24, 2024

+1

blink.cmp seems so much faster than nvim-cmp and doesn't lag and I'd love to have native copilot support for it.

@r1cheu
Copy link

r1cheu commented Jan 13, 2025

Guys. check blink-cmp-copilot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants