@@ -75,6 +75,39 @@ return {
75
75
}
76
76
```
77
77
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
+
78
111
## Configuration
79
112
80
113
``` lua
@@ -179,9 +212,6 @@ This project uses [Nix](https://nixos.org/) for development environment manageme
179
212
``` bash
180
213
# For traditional package managers
181
214
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
185
215
```
186
216
187
217
Without Nix, ensure you have:
0 commit comments