I installed tmux using homebrew on Mac OSX Lion a while back. Suddenly the keybindings have stopped working. For example if I try Ctrl-b then c (Create new window) it just types c in the terminal window. How can I fix this and make tmux useable again?
Asked
Active
Viewed 2.3k times
4 Answers
7
Depending on your situation, "kill-server" might be overkill.
For me, the non working keys is fixed by just detaching the client that stopped working, and re attaching to it; in a different terminal:
tmux detach-client -s mysession
tmux attach-session -t mysession
eugenevd
- 224
0
When I restarted my computer, a typo in one particular command in tmux.conf didn't let it run. I fixed it and in the tmux session itself reloaded it using source ~/.tmux.conf and bindings started working again.
Peaceful
- 111
-1
In my case 'Terminal' had ctrl-a mapped as 'select all' so I changed it to ctl-shift-a and new tmux prefix binding to 'ctrl-a' started working.
How to see your keybindings: https://askubuntu.com/questions/879104/determine-current-keyboard-shortcuts-in-gnome-terminal-using-gsettings