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
@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.
@LuBtc888: Seriously, I barely touch tmux for multi-terminal management anymore. With http://herdr.dev and http://muxy.app, these two tools kick tmux's cumbersome configuration out of the game. No need to memorize complex shortcuts, no need to fiddle with config files—ready to use out of the box, a blessing for the lazy. Productivity tools...
Introduces two terminal multi-window management tools, Herdr and Muxy. Herdr is a Rust-based native terminal proxy runtime that supports persistence, mouse operations, and proxy state management, serving as a tmux alternative.
Tesserac
Tesserac is a macOS app that offers a spatial alternative to the standard Cmd+Tab window switcher.