How to bind "Ctrl-Alt-b" as the prefix of tmux?
5,715
M-C-b
works for me. Outside tmux
, check what sequence of characters is sent upon pressing Ctrl-Alt-b. If it's Esc, ^B (0x1b, 0x2), then that should work.
Related videos on Youtube
Author by
Mamuz
Updated on September 18, 2022Comments
-
Mamuz over 1 year
Tmux uses Ctrlb as its prefix, but Ctrlb conflict with Emacs.
I want to bind CtrlAltb to tmux's prefix. I guess it may be
C-M-b
but didn't work...-
Admin over 11 years
C-M-b
works here with tmux 1.6, rxvt-unicode terminal. -
Admin over 11 yearsAs @Thor has implied, you should post your terminal emulator and tmux version, and possibly even your window manager.
-
Admin over 11 yearsI don't know why but... M-C-b works... Thanks everyone!
-
-
1111161171159459134 over 8 yearsThen, how to check what sequences of characters are sent?? Tried your
{ stty raw min 1 time 20 -echo; dd count=1 2> /dev/null | od -vAn -tx1; stty sane; }
; all I get as result is3c
when I pressC-<
(Ctrl+LessThan). I do want to bindC-<
as tmux prefix.