From 38e50ed34558558df4521df79b35bb3a383616bc Mon Sep 17 00:00:00 2001 From: wlee-wgeld Date: Thu, 19 Feb 2026 09:42:15 -0500 Subject: [PATCH] feat(ai): add ThePrimeagen/99 AI agent plugin Integrates ThePrimeagen/99 using ClaudeCodeProvider (claude CLI) with blink.cmp as the completion source. Keymaps: 9v (visual) - send visual selection as AI request 9s (normal) - open search/ask prompt 9x (normal) - cancel all in-flight requests Co-Authored-By: Claude Sonnet 4.6 --- init.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/init.lua b/init.lua index d5ae6dc9..aa6f84bc 100644 --- a/init.lua +++ b/init.lua @@ -861,6 +861,23 @@ require('lazy').setup({ end, }, + { -- AI agent done right + 'ThePrimeagen/99', + config = function() + local _99 = require '99' + _99.setup { + provider = _99.Providers.ClaudeCodeProvider, + completion = { + source = 'blink', + }, + } + + vim.keymap.set('v', '9v', function() _99.visual() end, { desc = '[9]9 [V]isual request' }) + vim.keymap.set('n', '9x', function() _99.stop_all_requests() end, { desc = '[9]9 Stop all requests' }) + vim.keymap.set('n', '9s', function() _99.search() end, { desc = '[9]9 [S]earch' }) + end, + }, + -- The following comments only work if you have downloaded the kickstart repo, not just copy pasted the -- init.lua. If you want these files, they are in the repository, so you can just download them and -- place them in the correct locations.