Skip to content

Commit 482b4b0

Browse files
committed
chore: update readme
Change-Id: Id7f362c67ef2cd8448373896c2ac6ba86652a2a6 Signed-off-by: Thomas Kosiewski <[email protected]>
1 parent c296e49 commit 482b4b0

File tree

1 file changed

+33
-3
lines changed

1 file changed

+33
-3
lines changed

README.md

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,39 @@ return {
7575
}
7676
```
7777

78+
### Local Development with LazyVim
79+
80+
For local development with LazyVim, create a `lua/plugins/claudecode.lua` file with the following content:
81+
82+
```lua
83+
return {
84+
{
85+
dir = "~/GitHub/claudecode.nvim", -- Path to your local repository
86+
name = "claudecode.nvim",
87+
dependencies = {
88+
"nvim-lua/plenary.nvim",
89+
},
90+
dev = true,
91+
opts = {
92+
-- Development configuration
93+
log_level = "debug",
94+
auto_start = true, -- Optional: auto-start the server
95+
},
96+
keys = {
97+
{ "<leader>cc", "<cmd>ClaudeCodeStart<cr>", desc = "Start Claude Code" },
98+
{ "<leader>cs", "<cmd>ClaudeCodeSend<cr>", desc = "Send to Claude Code" },
99+
},
100+
},
101+
}
102+
```
103+
104+
This configuration:
105+
106+
1. Uses the `dir` parameter to specify the local path to your repository
107+
2. Sets `dev = true` to enable development mode
108+
3. Sets a more verbose log level for debugging
109+
4. Adds convenient keymaps for testing
110+
78111
## Configuration
79112

80113
```lua
@@ -179,9 +212,6 @@ This project uses [Nix](https://nixos.org/) for development environment manageme
179212
```bash
180213
# For traditional package managers
181214
ln -s $(pwd) ~/.local/share/nvim/site/pack/plugins/start/claudecode.nvim
182-
183-
# For Lazy
184-
ln -s $(pwd) ~/.local/share/nvim/lazy/claudecode.nvim
185215
```
186216

187217
Without Nix, ensure you have:

0 commit comments

Comments
 (0)