tmux

Configuration

Introduction#

Tmux configurations goes in a file called .tmux.conf in home directory. ie, ~/.tmux.conf

Change prefix

The default configuration <C-b> is not the easiest to use. It’d be better to use something like ctrla. To do so, add this to tmux.conf

# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix

This modified text is an extract of the original Stack Overflow Documentation created by the contributors and released under CC BY-SA 3.0 This website is not affiliated with Stack Overflow