You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-1Lines changed: 22 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,27 @@ That's it! The plugin will auto-configure everything else.
87
87
- Show diffs with proposed changes
88
88
- Access diagnostics and workspace info
89
89
90
-
## Key Commands
90
+
## Commands
91
+
92
+
-`:ClaudeCode [arguments]` - Toggle the Claude Code terminal window (simple show/hide behavior)
93
+
-`:ClaudeCodeFocus [arguments]` - Smart focus/toggle Claude terminal (switches to terminal if not focused, hides if focused)
94
+
-`:ClaudeCodeTmux [arguments]` - Open Claude Code in a tmux pane (works regardless of terminal provider setting)
95
+
-`:ClaudeCode --resume` - Resume a previous Claude conversation
96
+
-`:ClaudeCode --continue` - Continue Claude conversation
97
+
-`:ClaudeCodeSend` - Send current visual selection to Claude, or add files from tree explorer
98
+
-`:ClaudeCodeTreeAdd` - Add selected file(s) from tree explorer to Claude context (also available via ClaudeCodeSend)
99
+
-`:ClaudeCodeAdd <file-path> [start-line] [end-line]` - Add a specific file or directory to Claude context by path with optional line range
100
+
-`:ClaudeCodeDiffAccept` - Accept the current diff changes (equivalent to `<leader>aa`)
101
+
-`:ClaudeCodeDiffDeny` - Deny/reject the current diff changes (equivalent to `<leader>ad`)
102
+
103
+
### Toggle Behavior
104
+
105
+
-**`:ClaudeCode`** - Simple toggle: Always show/hide terminal regardless of current focus
106
+
-**`:ClaudeCodeFocus`** - Smart focus: Focus terminal if not active, hide if currently focused
107
+
108
+
### Tree Integration
109
+
110
+
The `<leader>as` keybinding has context-aware behavior:
91
111
92
112
-`:ClaudeCode` - Toggle the Claude Code terminal window
93
113
-`:ClaudeCodeFocus` - Smart focus/toggle Claude terminal
@@ -179,6 +199,7 @@ For deep technical details, see [ARCHITECTURE.md](./ARCHITECTURE.md).
179
199
-**Claude not connecting?** Check `:ClaudeCodeStatus` and verify lock file exists in `~/.claude/ide/` (or `$CLAUDE_CONFIG_DIR/ide/` if `CLAUDE_CONFIG_DIR` is set)
180
200
-**Need debug logs?** Set `log_level = "debug"` in opts
181
201
-**Terminal issues?** Try `provider = "native"` if using snacks.nvim
202
+
-**Auto-start not working?** If using external terminal provider, ensure you're using `event = "VeryLazy"` instead of `keys = {...}` only, as lazy loading prevents auto-start from running
0 commit comments