Scenario: I have several (more than 2) windows open. I actively work with two of them. How do I best jump from one window to another, and back, with one command?
I use ace-window; it's great but I don't want to press window number every time.
I know about next-window
/ prev-window
, but these are two different commands.
What I'm looking for is something that remembers what the previous windows was when I select another window, and gets back to it. Invoked repeatedly, it would switch between the last two windows, Alt-Tab-style.
Where do I look?
fn
plus one of the arrow keys to go in any direction, including in and out of the minibuffer (if it is active) -- see the built-in librarywindmove
.