aboutsummaryrefslogtreecommitdiffhomepage
path: root/.config
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-06-16 23:28:13 +0900
committernsfisis <nsfisis@gmail.com>2025-06-16 23:28:13 +0900
commit0cdb7b7ca0080c87ec466dcc269632f3f20e6bce (patch)
treec6c8b6912547ca196836baaa131d7127fdb44c74 /.config
parente368da5465b4ee71199e75f1b211b5c10e436722 (diff)
downloaddotfiles-0cdb7b7ca0080c87ec466dcc269632f3f20e6bce.tar.gz
dotfiles-0cdb7b7ca0080c87ec466dcc269632f3f20e6bce.tar.zst
dotfiles-0cdb7b7ca0080c87ec466dcc269632f3f20e6bce.zip
nvim: install coder/claudecode.nvim
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/lazy-lock.json1
-rw-r--r--.config/nvim/lua/vimrc/plugins.lua18
2 files changed, 19 insertions, 0 deletions
diff --git a/.config/nvim/lazy-lock.json b/.config/nvim/lazy-lock.json
index b67d464..4b23646 100644
--- a/.config/nvim/lazy-lock.json
+++ b/.config/nvim/lazy-lock.json
@@ -1,6 +1,7 @@
{
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
"capture.vim": { "branch": "master", "commit": "857ee11cfe1193948d3d45dcb8d511fded8533fb" },
+ "claudecode.nvim": { "branch": "main", "commit": "da78309eaa2ca29fd38b22ed6155697ae1e65dc4" },
"colorswatch.vim": { "branch": "main", "commit": "2e3f847fc0e493de8b119d3c8560e47ceeff595c" },
"committia.vim": { "branch": "master", "commit": "c8c0f255e8090ed90dd9d5dd2e8672994f8e3671" },
"denops.vim": { "branch": "main", "commit": "4ff8f353ee54ee67288c1099242444ccb0ab5b69" },
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" },
+ },
+ },
+ },
-- }}}
}