diff options
| author | Paul Buetow <paul@buetow.org> | 2025-09-08 09:50:38 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-09-08 09:50:38 +0300 |
| commit | cead3ebde8f3aee0ef8677158d37f4d04c6629dc (patch) | |
| tree | eadf4928c13e4f1fd782e8e0955116a24cef1d27 /docs/usage.md | |
| parent | 29b0da31acf02816ee9e8f1d5a1b9a0ad5993593 (diff) | |
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
Diffstat (limited to 'docs/usage.md')
| -rw-r--r-- | docs/usage.md | 18 |
1 files changed, 18 insertions, 0 deletions
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. |
