Master terminal multiplexing for seamless workflow management
Tmux organizes your work into sessions (collections of windows) and windows (views into shells).
All tmux commands are prefixed with:
Panes allow you to split your tmux windows into multiple viewports, each running its own command.
Tmux is highly customizable through its configuration file, allowing you to personalize your workflow.
Tmux reads its configuration from ~/.tmux.conf
Common customizations include:
# Remap prefix from 'C-b' to 'C-a'
set-option -g prefix C-a
unbind-key C-b
bind-key C-a send-prefix
# Split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
# Reload config with r
bind r source-file ~/.tmux.conf
# Status bar customization
set -g status-style bg=black
set -g status-left '#[fg=green]#S '
set -g status-right '#[fg=cyan]%b %d %H:%M'
# Highlight active window
set-window-option -g window-status-current-style bg=red
# Set active pane border color
set -g pane-active-border-style fg=cyan
# Enable mouse mode (tmux 2.1+)
set -g mouse on
# In older versions:
# set -g mode-mouse on
# set -g mouse-select-pane on
# set -g mouse-resize-pane on
# set -g mouse-select-window on
Default Tmux
Customized Tmux
tmux -S /tmp/shared and permissions
tmuxinator
select-layout command
Prefix + :
Ready to see how Vim and Tmux work together in real-world scenarios?
Explore Workflow Examples →