screen has a Ctrl-a,Ctrl-a to switch between two latest windows?
How to do it in
To do this in tmux, you do
(that is an 'L'). This assumes you have left Ctrl-B as your activation key.
If you want to use the same keypresses as screen, then add the following to your
The first sets Ctrl-A as your activation key, the second says Ctrl-A after activation should go to the last window.