summaryrefslogtreecommitdiff
path: root/docs/usage.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/usage.md')
-rw-r--r--docs/usage.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/usage.md b/docs/usage.md
index 387ad34..4d1b50b 100644
--- a/docs/usage.md
+++ b/docs/usage.md
@@ -183,7 +183,7 @@ Additional agents can be added via `[tmux_edit.agents]` in config.toml without c
Add to `~/.tmux.conf`:
```
-bind e run-shell -b "hexai-tmux-edit --pane '#{pane_id}'"
+bind e run-shell -b "cd '#{pane_current_path}' && hexai-tmux-edit --pane '#{pane_id}'"
```
The `#{pane_id}` is expanded by tmux to the active pane at keypress time, so the popup editor always knows which pane to send text back to.