holzschu / a-shell

A terminal for iOS, with multiple windows
BSD 3-Clause "New" or "Revised" License
2.64k stars 116 forks source link

NewWindow orientation #722

Open timeless-way opened 10 months ago

timeless-way commented 10 months ago

I often use a-shell with the iPad in portrait mode as the smaller keyboard leaves more real estate for the windows. I also like to use multiple windows (one to edit and anther to run programs). NewWindow will split the screen vertically which in portrait mode results in two long and thin parts.

It would be so nice to be able to choose the split orientation of newWindow so I could have a horizontal split, which would give me two well-balanced windows.

Would that be possible? Thanks anyway!

holzschu commented 10 months ago

I share your view: in portrait mode, it would be much better to have the screen split vertically. But I do not know of a way to change how the system creates new windows, which means I do not see how to do it.

One (partial) solution is to call Vim, then :split, then :VimShell in one of the vim buffers, but it's not as convenient.