Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

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...

share|improve this question
C-M-b works here with tmux 1.6, rxvt-unicode terminal. – Thor Sep 15 '12 at 12:21
As @Thor has implied, you should post your terminal emulator and tmux version, and possibly even your window manager. – jw013 Sep 15 '12 at 13:59
I don't know why but... M-C-b works... Thanks everyone! – kuanyui Sep 15 '12 at 14:25

1 Answer 1

up vote 3 down vote accepted

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.

share|improve this answer
Then, 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 is 3c when I press C-< (Ctrl+LessThan). I do want to bind C-< as tmux prefix. – 1111161171159459134 Aug 9 at 21:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.