r/tmux

▲ 206 r/tmux+1 crossposts

tmux.expose: visually switch tmux sessions with live pane previews

I often have a bunch of tmux sessions open, and switching by name alone was starting to feel limiting. I wanted something closer to Mission Control, but inside tmux.

So I built tmux.expose: a small Rust TUI that shows your tmux sessions in a responsive grid with live text previews, so you can visually pick the workspace you want.

Features:

  • Live tmux session thumbnails
  • ANSI color-aware previews
  • Keyboard navigation with arrows / hjkl
  • Fuzzy session search with /
  • Mouse click to switch sessions
  • Runs directly in tmux or inside a tmux popup
  • TPM plugin support
  • Default binding: Alt+e
  • Press Alt+e again to close the popup without switching

Install:

cargo install tmux-expose

With TPM:

set -g u/plugin 'cesarferreira/tmux.expose'

Then reload/install plugins and press Alt+e.

GitHub: https://github.com/cesarferreira/tmux.expose

I’d love feedback from tmux users, especially around default keybindings, popup sizing, and whether the previews show the right amount of context.

u/tymonn — 2 days ago
▲ 123 r/tmux

Implemented dimming of inactive tmux panes 🤓

And it also works with nvim panes too. Basically I had to change the tmux source code in order to

  1. add the dimming algorithm
  2. inject the correct RBG values at runtime so the dimming works correctly (otherwise it looks off because we have to convert ANSI to RBG which is an approximation and then apply the dimming and THEN convert back to ANSI)

But yeah I think it’s pretty cool cus now I have a clear visual indication of which pane I’m currently on. And it’s all bootstrapped using nix (I had to pin the tmux version b.c. any updates could cause the patches I added to break) so that way it builds and works the exact same across my computers 🤓🤓🤓

https://anonymous.4open.science/r/chud-methodology-1477/README.md

u/bigblackmonkey-boy — 5 days ago
▲ 13 r/tmux+1 crossposts

Script for fuzzy finding Neovim buffers across all Tmux panes

I wrote a bash script for fuzzy finding a loaded Tmux buffer across all running instances of Neovim inside of your Tmux panes. Upon selection of a file, it will switch to that pane and buffer.

https://gist.github.com/mikeslattery/444f4fef4a20cfe786ba323a081262f7

On my system it's at ~/bin/fzfbuf. It should work for Mac, BSD Unix, and Linux, but it's only tested on Linux.

Requires: fzf bat eza

u/funbike — 5 days ago
▲ 16 r/tmux+1 crossposts

Should I use Tmux for the server I ssh into

I have never used Tmux so i dont know exactly how it works , but can i use it on server to multi task for monitoring stuff?
or should i just ssh from different terminal?

reddit.com
u/Square-Butterfly8447 — 8 days ago
▲ 4 r/tmux

This has been driving me nuts since i started using tmux, now i had claude fix it, and I offer it to all of you...

https://github.com/BatsShadow/tmux-superclick

Fork as you may. I built this for myself - I will entertain PRs, but don't intend to turn into a big maintainer. It does well for me after only working on it for a few hours

u/BatsShadow — 7 days ago
▲ 26 r/tmux

tmux-jot - popup sticky notes per session

Small tmux plugin for session-linked popup notes. I've created it for mostly personal use, but maybe some of you will find it useful.

Each session can keep its own active note, and the editor state persists between popup open/close (hidden tmux session in the background).

Repo + install:

https://github.com/szymonwilczek/tmux-jot

If you try it, I'd appreciate practical feedback on keybind defaults and popup sizing behavior.

Have a nice day!

u/RussKazik — 7 days ago
▲ 0 r/tmux

Tmux is so powerful right now!

I built an agent control dashboard that uses T bucks as the Multiplex are to control all the terminal sessions with a cursor agent, and I use Python to Bridge into a web app and xterm to help control the number of sessions that I have going would be curious what the community thinks of this it!!

u/FixBeautiful1851 — 7 days ago
▲ 3 r/tmux+1 crossposts

Built a tiny Neovim plugin because I got tired of constantly copy/pasting between nvim and tmux.

Built a tiny Neovim plugin because I got tired of constantly copy/pasting between nvim and tmux.

It’s called send-to-tmux.nvim.

The idea is simple:

Select text in Neovim → send it directly to a tmux pane.

Sounds small, but it ended up improving my workflow way more than I expected, especially for AI coding / REPL-heavy workflows.

Some things it can do:

  • send current line or visual selection
  • reliably send multiline content via tmux paste-buffer
  • edit content in a floating window before sending
  • generate file:line / file:start-end references for AI agents
  • preview pane info + recent output before choosing target pane
  • optional auto-enter + auto-focus behavior

I originally made it because my workflow looked like this all day:

  • write code in Neovim
  • run commands in adjacent tmux pane
  • copy
  • switch pane
  • paste
  • switch back
  • repeat 500 times

After a while, the friction becomes surprisingly annoying.

Now it feels much more like Neovim and tmux are one environment instead of two separate tools.

Feels especially nice when working with:

  • Claude Code
  • Codex CLI
  • Python/IPython
  • Node REPL
  • shell-heavy workflows
  • vibe coding setups

Curious if anyone else here has built similar “micro workflow” plugins lately.

github.com
u/Pristine_Study8012 — 9 days ago
▲ 28 r/tmux

tau - sensible tmux config for multiple project sessions

I've moved from session terminal based setup to tmux (3.6+). here is my simple self-contained setup. tmux (or similar multiplexer) are by far the easier solution for agent orchestration for terminal lovers.

repo: https://github.com/S1M0N38/tau

u/S1M0N38 — 12 days ago