This is a follow up to this emacs stackexchange question:
Given split windows like this:
|------|-------|
|1 |2 |
| | |
|------|-------|
|3 |4 |
| | |
|------|-------|
With C-x 0
(or the command delete-window
) we can delete a window. For example, with point
on window-1 if we execute C-x 0
then window-1 will be deleted. But how to control the direction of collapse i.e. - how to pick between the following two possible ways of deleting window-1:
|------|-------|
|2 |
| |
|------|-------|
|3 |4 |
| | |
|------|-------|
Or,
|------|-------|
|3 |2 |
| | |
| |-------|
| |4 |
| | |
|------|-------|
[window-splitting]
to see. If so, please delete this one. – Drew Sep 29 '22 at 16:14[window-splitting]
. I could not find an answer to this question in any of those. Please let me know if I overlooked and I will delete this post. Thanks again! – Inspired_Blue Sep 29 '22 at 17:45