aboutsummaryrefslogtreecommitdiffhomepage
path: root/.config/nvim/lua/vimrc/plugins.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/vimrc/plugins.lua')
-rw-r--r--.config/nvim/lua/vimrc/plugins.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/.config/nvim/lua/vimrc/plugins.lua b/.config/nvim/lua/vimrc/plugins.lua
index 7f524c4..d8ae9c4 100644
--- a/.config/nvim/lua/vimrc/plugins.lua
+++ b/.config/nvim/lua/vimrc/plugins.lua
@@ -778,5 +778,23 @@ return {
end,
},
-- AI {{{1
+ {
+ "coder/claudecode.nvim",
+ config = true,
+ keys = {
+ { "<leader>a", nil, desc = "AI/Claude Code" },
+ { "<leader>ac", "<cmd>ClaudeCode<cr>", desc = "Toggle Claude" },
+ { "<leader>af", "<cmd>ClaudeCodeFocus<cr>", desc = "Focus Claude" },
+ { "<leader>ar", "<cmd>ClaudeCode --resume<cr>", desc = "Resume Claude" },
+ { "<leader>aC", "<cmd>ClaudeCode --continue<cr>", desc = "Continue Claude" },
+ { "<leader>as", "<cmd>ClaudeCodeSend<cr>", mode = "v", desc = "Send to Claude" },
+ {
+ "<leader>as",
+ "<cmd>ClaudeCodeTreeAdd<cr>",
+ desc = "Add file",
+ ft = { "dirvish" },
+ },
+ },
+ },
-- }}}
}