Tmux plugin to quickly switch between sessions
Summary
tmux-underkeys is a Tmux plugin that assigns mnemonic shortcut keys to session names by underlining a unique character in each session name, allowing instant keyboard-driven session switching via a configurable trigger key.
View Cached Full Text
Cached at: 06/05/26, 02:15 AM
maxonvim/tmux-underkeys
Source: https://github.com/maxonvim/tmux-underkeys
tmux-underkeys

Visible mnemonic keys for instant tmux session switching.
tmux-underkeys underlines one unique character in each session name and binds a trigger key so you can jump directly to that session.
_a_pp a_p_i a_d_min _n_otes
C-g a -> app
C-g p -> api
C-g d -> admin
C-g n -> notes
Installation
With TPM:
set -g @plugin 'maxonvim/tmux-underkeys'
Choose your trigger key before the plugin line if you do not want the default C-g:
set -g @underkeys-trigger 'M-s'
set -g @plugin 'maxonvim/tmux-underkeys'
The plugin adds the underkey session list to status-right automatically.
During local development, load the plugin directly:
run-shell /path/to/tmux-underkeys/tmux-underkeys.tmux
Usage
Press the trigger key, then the underlined session key.
Default trigger:
C-g
Example:
C-g o
Switches to the session whose underlined key is o.
Options
set -g @underkeys-trigger 'C-g'
set -g @underkeys-table 'underkeys'
set -g @underkeys-status 'on'
set -g @underkeys-position 'right'
set -g @underkeys-separator ' '
set -g @underkeys-current-style 'fg=blue,bold'
set -g @underkeys-style 'fg=white'
Set @underkeys-status to off if you want to place the status segment yourself.
How Keys Are Picked
Sessions are processed in tmux list-sessions order.
For each session, the first unused alphanumeric character in the session name becomes its key.
For example:
app -> a
api -> p
admin -> d
notes -> n
Similar Articles
@QingQ77: Run multiple Claude Code sessions in tmux with a pop-up picker to view each session's status, live preview, and jump to any session with one key. https://github.com/craftzdog/tmux-claude-session-manager…
A tmux plugin that lets you run multiple Claude Code sessions in separate tmux windows, with a central fzf picker showing live status and previews, and the ability to jump between sessions.
lazy-tmux: restore tmux sessions lazily, with scrollback
lazy-tmux is a CLI tool that snapshots tmux sessions with running processes and scrollback, and restores them lazily when selected from a TUI picker.
@dingyi: 我现在都懒得用 tmux 了,直接用 https://herdr.dev 或 https://muxy.app 更方便,适合懒人。
Herdr is a terminal-based agent multiplexer offering persistent sessions, agent awareness, and a mouse-native TUI, positioned as a convenient alternative to tmux. The tweet recommends it alongside muxy.app for users seeking simpler terminal session management.
Show HN: Rmux – A programmable terminal multiplexer with a Playwright-style SDK
Rmux is a new programmable terminal multiplexer written in Rust, offering a tmux-compatible CLI, a typed SDK, and features for agentic workflows, allowing detachable, scriptable terminal sessions across Linux, macOS, and Windows.
@levelsio: So here's my latest set up Every site I have is a profile on Termius like > hoodmaps .com I click it and immediately I'…
Pieter Levels shares his server workflow using Termius profiles and a custom tmux function that auto-attaches to per-site sessions, enabling seamless switching between devices and consistent work sessions.