94
22
I just installed tmux on Ubuntu 10.04 and tried to remap the prefix key to C-a
by creating the file ~/.tmux.conf
with these lines:
set-option -g prefix C-a
unbind-key C-b
When starting tmux, both regularly and with -f ~/.tmux.conf
, the prefix is effectively the same default C-b
There are no errors or warnings whatsoever.
Any idea what's wrong with the loading of the conf?
It Works For Me™. Try running
strace -s9999 -f -o tmux.strace tmux -c true
and post the output ofgrep -C5 'tmux\.conf' tmux.strace
. – Gilles 'SO- stop being evil' – 2010-09-14T20:24:02.743I had this same problem, no existing sessions, ('tmux ls' reported connection refused, i.e. not running), but it still wasn't reading the conf file. I was launching it with a CWD somewhere in /usr, but when I switched to ~/ and launched tmux, it processed the conf file. It's weird behaviour, but that's something to check. – Ranko Kohime – 2013-01-26T21:30:56.630