The default command C-b l to switch between two latest windows doesn't work on my Ubuntu 16.04.
But it works if set bind-key l last-window after started tmux server.
I tried to set the bind key command in ~/.tmux.conf:
bind-key l last-window or bind-key a last-window
C-b l still doesn't work, but C-b a works.
Why C-b l doesn't work? How to trace the issue?
Reference:
F1 ldoesn't work, butF1 aworks. I want to keep the default prefix key. So any idea? – Peter Aug 20 '17 at 12:29C-b :to enter command mode, thenlist-keys? – Gribouillis Aug 20 '17 at 13:07bind-key -T prefix a last-windowis display, but defalutprefix lis not – Peter Aug 20 '17 at 13:34bind-key 'l' last-window(with quotes) – Gribouillis Aug 20 '17 at 13:37bind-key 'l' last-window(with quotes) doesn't work. – Peter Aug 20 '17 at 14:22C-b lworks. Then I tried withtmux list-keys | grep "prefix l"to find the bind key. It shows thatbind-key l select-pane -Roverwrite the default behavior.Thank you again. How can I close the question or make your comments as answer?
– Peter Aug 20 '17 at 23:03