Last window switching...
Posted: Wed Mar 11, 2009 7:09 am
I know there are command for WindowNext and WindowPrev, but what I would like is WindowLast. This command would go the the window that had been the topmost before the current. Activating it again would bring you back to the window that you just left.
In other words, WindowLast would just toggle between the same two windows until you changed the active window to a third window using one of the other methods.
An alternative would be to change the following behavior (I don't know if this behavior is the intended behavior or a bug):
* I have WindowNext mapped to Ctrl+Tab.
* Given 3 windows, if I visit them in order, as long as hold down the Ctrl key, each time I press tab I will visit the next window in the order. This is the behavior even if I pause in pressing the tab key for a long time, so long as I never release the Ctrl key.
* If I release the Ctrl key, the next time I hit Ctrl+Tab (invoke WindowNext) I go to the window that was previous to the current one in the original order, i.e. if I am on Window 3 when I start the sequence again, I will go to Window 2.
* Again, as long as I hold the Ctrl key, I will now cycle through the windows in this new order (with 3 windows this is exactly the reverse of the original order). Pausing with the Ctrl key held down does not effect the sequence at all.
* If instead of holding the Ctrl key, I release it after each press of the Tab key, the behavior changes to toggling between two windows exclusively.
I think that this should be the behavior even if you hold the Ctrl key, but you pause for half a second.
In other words, WindowLast would just toggle between the same two windows until you changed the active window to a third window using one of the other methods.
An alternative would be to change the following behavior (I don't know if this behavior is the intended behavior or a bug):
* I have WindowNext mapped to Ctrl+Tab.
* Given 3 windows, if I visit them in order, as long as hold down the Ctrl key, each time I press tab I will visit the next window in the order. This is the behavior even if I pause in pressing the tab key for a long time, so long as I never release the Ctrl key.
* If I release the Ctrl key, the next time I hit Ctrl+Tab (invoke WindowNext) I go to the window that was previous to the current one in the original order, i.e. if I am on Window 3 when I start the sequence again, I will go to Window 2.
* Again, as long as I hold the Ctrl key, I will now cycle through the windows in this new order (with 3 windows this is exactly the reverse of the original order). Pausing with the Ctrl key held down does not effect the sequence at all.
* If instead of holding the Ctrl key, I release it after each press of the Tab key, the behavior changes to toggling between two windows exclusively.
I think that this should be the behavior even if you hold the Ctrl key, but you pause for half a second.