If I have my frame split horizontally, then split one of those widows vertically with split-window-below, is there a way to go back to 2 windows split horizontally without having to use delete-other-windows and then split-window-right?
You can split a window horizontally or vertically by clicking C-Mouse-2 in the mode line or the scroll bar.
If you want to reset the size of all split windows, use “Ctrl + W”, then “=”. It's also possible to tell the size of the split. By default, Vim offers equal width/height of each split.
With the keyboard, you can switch windows by typing C-x o ( other-window ). That is an o , for `other', not a zero. When there are more than two windows, this command moves through all the windows in a cyclic order, generally top to bottom and left to right.
To open a new frame, select Make New Frame from the Files menu or press C-x 5 2 (for make-frame). Emacs makes a new frame containing the current buffer and puts it on top of the current frame.
You can use delete-window
which is bound to C-x 0
.
If you enable winner-mode
, you get something akin to a stack-based undo/redo functionality for all your window configuration changes. By default, C-c <left>
gets bound to winner-undo
, while C-c <right>
performs winner-redo
.
You can save your window-configurations:
window-configuration-to-register C-x r w
and restore it later:
jump-to-register C-x r j
using registers
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With