The default prefix in tmux is ctrl+b
.
Let’s accept it. Using ctrl+b
time and again is a pain in your wrist. It’s time to solve this issue.
Make your caps lock key to act as
ctrl
key.Go to
System Preferences > Keyboard
. Under theKeyboard
tab click onModifier Keys...
button at the bottom right.Map the
Caps Lock Key
to^Control
Click
OK
Open
~/.tmux.conf
in your default text editor and add these:# Send prefix unbind-key C-b set-option -g prefix C-Space bind-key C-Space send-prefix
The above command sets the default prefix to
ctrl+space
.