Sessions, windows, panes, copy mode, configuration, and the patterns you actually use day-to-day.
xclip (Linux), pbcopy (macOS), or use the tmux-yank plugin which handles all platforms.Edit ~/.tmux.conf and reload with prefix :source-file ~/.tmux.conf or kill the tmux server.
unbind C-b set -g prefix C-a bind C-a send-prefix
bind | split-window -h bind - split-window -v unbind '"' unbind %
set-window-option -g mode-keys vi bind-key -T copy-mode-vi 'v' send-keys -X begin-selection bind-key -T copy-mode-vi 'y' send-keys -X copy-selection-and-cancel
set -g mouse on
set -g history-limit 50000
set -g base-index 1 setw -g pane-base-index 1 set -g renumber-windows on
bind r source-file ~/.tmux.conf \; display-message "Config reloaded"
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpmset -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-yank' set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-continuum' # Keep this at the very bottom of the config file run '~/.tmux/plugins/tpm/tpm'
tmux new -s terminalfeed). Use windows inside the session for different concerns (editor, server, logs, git). Detach (prefix d) when switching projects, never close the terminal window.tmux a, and you're back.prefix " then run tail -f log. Watch logs in the bottom while you work in the top. prefix z zooms whichever pane needs full attention.Ctrl+b (the prefix). So when you see prefix c below, that means: press Ctrl+b, release, then press c. Many people remap the prefix to Ctrl+a for less finger gymnastics. See the Configuration section.