Skip to content

Commit f1d913d

Browse files
author
Blink
committed
fix: correct neo-tree API call
1 parent d76c99f commit f1d913d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ Using [lazy.nvim](https://github.com/folke/lazy.nvim):
4949
"coder/claudecode.nvim",
5050
config = true,
5151
keys = {
52+
{ "<leader>a", nil, mode = { "n", "v", "NvimTree", "neo-tree" }, desc = "AI/Claude Code" },
5253
{ "<leader>ac", "<cmd>ClaudeCode<cr>", desc = "Toggle Claude" },
5354
{ "<leader>av", "<cmd>ClaudeCodeSendSelection<cr>", mode = "v", desc = "Send Visual Selection" },
5455
-- Add file from nvim-tree or neo-tree
@@ -62,9 +63,9 @@ That's it! For more configuration options, see [Advanced Setup](#advanced-setup)
6263
## Usage
6364

6465
1. **Launch Claude**: Run `:ClaudeCode` to open Claude in a split terminal
65-
2. **Send context**:
66-
- Select text in visual mode and use `<leader>av` to send it to Claude
67-
- In `nvim-tree` or `neo-tree`, press `<leader>as` on a file to add it to the context
66+
2. **Send context**:
67+
- Select text in visual mode and use `<leader>av` to send it to Claude
68+
- In `nvim-tree` or `neo-tree`, press `<leader>as` on a file to add it to the context
6869
3. **Let Claude work**: Claude can now:
6970
- See your current file and selections in real-time
7071
- Open files in your editor

0 commit comments

Comments
 (0)