tmux-llm

A minimalist tmux plugin for getting quick responses to your terminal contents from an LLM assistant.

Works with any openai-compatible API. Requires bash and python3.

Created with the help of Sculptor.

Usage

  1. (Optionally) Select text in a tmux pane (copy mode).
  2. Press Ctrl+G (or your configured key binding).
  3. The LLM response will appear in a popup window.
  4. Press any key to close the popup window.

Installation

Using TPM (Tmux Plugin Manager)

Add these lines to your ~/.tmux.conf (ensure you replace the API key with your actual API key):

set -g @tmux-llm-api-key '<your-api-key>'
set -g @plugin 'hynek-urban/tmux-llm'

Then press prefix + I to install.

Manual Installation

Clone thi…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help