From 1b62f0bddc639a9b30ff95ea2326e52f9b1e7528 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 10 Feb 2026 09:17:40 +0200 Subject: Fix hexai-tmux-edit to open in current working directory hexai-tmux-edit was opening in the wrong directory because the tmux popup wasn't being told which directory to use. This fix: - Updates bind-key example to cd into pane's current path - Passes working directory to popup via -d flag using os.Getwd() - Updates all documentation with corrected bind-key examples Co-Authored-By: Claude Sonnet 4.5 --- config.toml.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.toml.example') diff --git a/config.toml.example b/config.toml.example index f2bd66f..d23f738 100644 --- a/config.toml.example +++ b/config.toml.example @@ -166,7 +166,7 @@ temperature = 0.2 # - amp: Box UI │...│ (TUI mode), clears with C-u (Emacs/readline) # - aider: Shell-style > prompt, clears with C-u (Emacs/readline) # Tmux keybinding (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}'" # [[tmux_edit.agents]] # name = "claude" -- cgit v1.2.3