Skip to content

/tmux

Source: tmux-docs Category: Infrastructure

Tmux configuration and workflow setup.

What It Does

  • Generates tmux.conf files based on your preferences using the configuration SOP
  • Sets up development workflows using the multi-project setup workflow
  • Creates session scripts for your projects using the documented patterns
  • Teaches shortcuts with the actual keybinding reference
  • Configures remote development environments using that workflow
  • Sets up pair programming sessions using the documented procedure
  • Troubleshoots issues using the actual troubleshooting quick-ref

Example Usage

Input: "Create a tmux config for web development with vim, server, and git panes"

Skill Response:

  • Generates the config using documented patterns
  • Creates session script for web dev
  • Sets up pane layout
  • Includes useful keybindings

Capabilities

ActionDescription
Config GenerationCreate tmux.conf from preferences
Session ScriptsAutomated session setup
Keybinding SetupCustom shortcuts
Multi-ProjectManage multiple projects
Remote DevelopmentSSH development workflow
Pair ProgrammingShared sessions
TroubleshootingFix common issues

Config Example

bash
# ~/.tmux.conf
set -g prefix C-a
unbind C-b
bind C-a send-prefix

# Split panes
bind | split-window -h
bind - split-window -v

# Easy pane switching
bind h select-pane -L
bind l select-pane -R
bind k select-pane -U
bind j select-pane -D

Session Script

bash
#!/bin/bash
tmux new-session -d -s webdev
tmux send-keys 'vim .' C-m
tmux split-window -v -p 30
tmux send-keys 'npm run dev' C-m
tmux split-window -h
tmux send-keys 'git status' C-m
tmux attach -t webdev

Quick Start

/tmux

Skill will ask what workflow you need, then generate the config and scripts.

14 Skills | Built from SOP Documentation Sites