From 5d8ffd9e0325cca0e73d42cd1c6d2676a4f0d70d Mon Sep 17 00:00:00 2001 From: Daniel McKnight Date: Wed, 8 Oct 2025 17:51:26 -0700 Subject: [PATCH] Add cursor integration to nvim --- .config/nvim/lua/plugins/llm.lua | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.config/nvim/lua/plugins/llm.lua b/.config/nvim/lua/plugins/llm.lua index 8b76856..4667690 100644 --- a/.config/nvim/lua/plugins/llm.lua +++ b/.config/nvim/lua/plugins/llm.lua @@ -40,6 +40,13 @@ return { }) end, }, + { + "xTacobaco/cursor-agent.nvim", + config = function() + vim.keymap.set("n", "cC", ":CursorAgent", { desc = "Cursor Agent open terminal" }) + vim.keymap.set("v", "cC", ":CursorAgentSelection", { desc = "Cursor Agent send selection" }) + end, + }, { "olimorris/codecompanion.nvim", dependencies = { @@ -48,7 +55,12 @@ return { }, config = function() vim.keymap.set("n", "cc", ":CodeCompanionChat Toggle", { desc = "Toggle CodeCompanion Chat" }) - vim.keymap.set("v", "cc", ":CodeCompanionChat Add", { desc = "Add Context to CodeCompanion Chat" }) + vim.keymap.set( + "v", + "cc", + ":CodeCompanionChat Add", + { desc = "Add Context to CodeCompanion Chat" } + ) vim.keymap.set( "n", "cx",