From cead3ebde8f3aee0ef8677158d37f4d04c6629dc Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 8 Sep 2025 09:50:38 +0300 Subject: tmux: colored LLM status with provider + stats; add start heartbeat for LSP/CLI/TUI; theme support via HEXAI_TMUX_STATUS_THEME and HEXAI_TMUX_STATUS_FG/BG; docs: update tmux options and add Helix+tmux quickstart --- docs/usage.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'docs/usage.md') diff --git a/docs/usage.md b/docs/usage.md index 293b038..706be99 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -132,3 +132,21 @@ hexai-tmux-action --infile input.go --outfile output.go # Using shell redirection hexai-tmux-action < input.go > output.go ``` + +### Helix keybinding example + +Bind a key to pipe the current selection through the action runner and replace it in-place. In `~/.config/helix/config.toml`: + +```toml +[keys.select] +# Alt-a runs the Hexai action menu on the selection +"A-a" = ":pipe hexai-tmux-action" + +[keys.normal] +# Optional: run on the current line if no selection +"A-a" = ["select_line", ":pipe hexai-tmux-action"] +``` + +Tips: +- Ensure Helix runs inside tmux to see the status updates. +- You can also set a language-specific binding in `languages.toml` if preferred. -- cgit v1.2.3