Remap the ctrl+b tmux prefix to ctrl+a
December 20, 2020 ‐ 1 min read
When coming from GNU screen the
ctrl+b tmux uses by default is somewhat hard to get used to. Besides that it isn't as nicely reachable as the
ctrl+a prefix used by GNU screen.
Adjusting this prefix takes a couple lines of configuration in the
~/.tmux.conf config file. Following the example in the tmux man pages, we make the following addition in the tmux config.
# ~/.tmux.conf unbind-key C-b set-option -g prefix C-a bind-key C-a send-prefix