Referring to the existing leftabove and rightbelow commands, which do the following:
- execute a command
- if the command results in a split, it will be either opened on the left, or above the current window for
leftabove(and analogously forrightbelow).
Question is: why don't the counterparts rightabove and leftbelow exist?
Wouldn't it be logical that I want my new split either on the right, or above? (Or either on the left or below?)
Addendum: I understand the wording of my question ("I want my new split either on the right, or above") might have been misleading. Let me try to make the question more clear.
leftabove means: if you encounter a vsplit then the new window should be on the left; if you encounter a split, then the new window should be above.
rightbelow means: if you encounter a vsplit then the new window should be on the right; if you encounter a split, then the new window should be below.
So what I'm asking is, why don't we have these two?
leftbelow means: if you encounter a vsplit then the new window should be on the left; if you encounter a split, then the new window should be below.
rightabove means: if you encounter a vsplit then the new window should be on the right; if you encounter a split, then the new window should be above.
vsplitto go to the right and anysplitto go above. See addendum to the question. – Attilio Sep 03 '20 at 15:33leftbeloworrightabove, because I always know how a command is going to split the window (horizontally vs vertically). I could see how they are needed if there were some commands whose splitting direction was computed at runtime; but I can't think of any. – user938271 Sep 03 '20 at 15:41:rightbelow, you know in advance that you will only use therightpart of it. – Attilio Sep 03 '20 at 15:43