The other day I blogged about how I was looking for embedded terminal in vim and found something hilarious. This post is about how I solved what I was trying to do.
I know I can do
:shell, but that’s quite not what I wanted. Here’s how I got it working the way I want with byobu:
- Open a terminal and start
C-a S, basically, Ctrl followed by a, and then capital S.
C-a :, so you can type commands to the screen.
- Now you can type
resize +15to increase the size of the top split
C-a Tab, to switch to the other split
C-a cto create a new terminal there.
C-a Tabto switch between the splits.
I’d love to make this into some kind of config that I can load, but I haven’t discovered that yet. If someone knows how, please do let me know in the comments!