With the way I work, I often just want one window (what's showing my code). Now several things (like opening help) open another window. That's fine, but when I'm finished I just want all windows closed and to return to the original.
Often Q will get me out of something, But not every time. I want a consistent shortcut to 'close all but the main window'
delete-other-windows
is close to what I'm looking for, but I've obnoxiously been focusing the wrong window when utilizing it.
Is there a way to tag a window (say on startup of a frame, tag the first window), and then close all other windows besides that one? I don't want to think about where I'm currently focused.
winner-mode
and the manual on window configurations. – Dan♦ Jan 15 '15 at 19:12winner-mode
frequently to undo unintended window splits and popups and then there is also thepopwin
package that allows you to control how *Help* and other windows open. – Kaushal Modi Jan 15 '15 at 19:29delete-window
and F12 todelete-other-windows
? If you do it for a couple of days, you'll be hooked. Just set up your mode-line to clearly indicate which window has focus, and check the mode-line color before choosing F11 or F12. I use Control+Option+Command+F11 and Control+Option+Command+F12 – lawlist Jan 15 '15 at 19:46