7

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

  • 1
    C-M-b works here with tmux 1.6, rxvt-unicode terminal. – Thor Sep 15 '12 at 12:21
  • 2
    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
8

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.

  • 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 '15 at 21:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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