/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
| Action | Description |
|---|---|
| Config Generation | Create tmux.conf from preferences |
| Session Scripts | Automated session setup |
| Keybinding Setup | Custom shortcuts |
| Multi-Project | Manage multiple projects |
| Remote Development | SSH development workflow |
| Pair Programming | Shared sessions |
| Troubleshooting | Fix 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 -DSession 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 webdevQuick Start
/tmuxSkill will ask what workflow you need, then generate the config and scripts.