tmux

📁 g1joshi/agent-skills 📅 Feb 10, 2026
1
总安装量
1
周安装量
#75884
全站排名
安装命令
npx skills add https://github.com/g1joshi/agent-skills --skill tmux

Agent 安装分布

mcpjam 1
claude-code 1
replit 1
junie 1
windsurf 1
zencoder 1

Skill 文档

Tmux

Tmux decouples your terminal session from the window. Detach, go home, SSH in, attach, and your cursor is exactly where you left it. v3.5 adds extended keys.

When to Use

  • Remote Work: Mandatory for SSH. If connection drops, your run continues.
  • Pair Programming: Two users can attach to the same session.
  • Layouts: Run Editor, Server, and Logs in one window.

Core Concepts

Session / Window / Pane

Hierarchy: Session > Windows (Tabs) > Panes (Splits).

Prefix Key

Default Ctrl+b. Most users remap to Ctrl+a.

Plugins (TPM)

Tmux Plugin Manager. tmux-resurrect saves state across reboots.

Best Practices (2025)

Do:

  • Use True Color: Ensure termguicolors works in Vim inside Tmux.
  • Use tmux-sensible: Sets sane defaults (utf8, history limit).
  • Script Layouts: Use tmuxinator to launch standard workspace layouts.

Don’t:

  • Don’t nest tmux: Running tmux inside tmux is a path to madness.

References