11

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

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

1 Answer 1

13

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.

1
  • 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. Commented Aug 9, 2015 at 21:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .