We have a tmux session that several people need to connect to. Some people like the Ctrl+a prefix shortcut and some people prefer the default Ctrl+b shortcut. Is there anything I can put in the .tmux.conf file to allow both shortcuts to work?It seems that the standardset -g prefix C-acommand will unset the Ctrl+b shortcut.I have also tried this:set -g prefix C-aset -g prefix C-bbut the second line then unsets the Ctrl+a
Two prefix commands for tmux?
tmux
For releases prior to 2012: Issue the command only once, with all the desired prefix keys separated by commas:set-option -g prefix C-a,C-bFor versions >= 1.6 (Released the day before your question, 23/01/2012) see the other answer.