Change prefix to Ctrl-a
Replace the default prefix with a screen-style prefix.
unbind C-b
set -g prefix C-a
bind C-a send-prefixA common customization for users migrating from GNU screen.
tmux .tmux.conf settings for prefix changes, mouse support, indexing, reloading, and status bar customization.
Common .tmux.conf settings for better defaults.
Replace the default prefix with a screen-style prefix.
unbind C-b
set -g prefix C-a
bind C-a send-prefixA common customization for users migrating from GNU screen.
Keep window numbers compact after closing windows.
set -g renumber-windows onMakes numeric navigation more predictable.
set -g mouse onMakes tmux friendlier for new users and for terminal emulators with good mouse support.
set -g base-index 1
setw -g pane-base-index 1Many users find one-based numbering easier to remember.
tmux source-file ~/.tmux.confUse after editing `.tmux.conf`.
Customize status content and theming.
set -g status-position topA useful layout preference on smaller screens.
Customize the left side of the status line.
set -g status-left "#[bold]#S "Formats the current session name using tmux format strings.
Add useful runtime context to the status line.
set -g status-right "#H %Y-%m-%d %H:%M"Tmux supports format variables and time expansion.
set -g pane-border-status topHelps identify panes during complex layouts.