Embedding a terminal with byobu

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.

Typing this blog post on the kind of setup I'm writing about

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 byobu.
  • Type C-a S, basically, Ctrl followed by a, and then capital S.
  • Then, C-a :, so you can type commands to the screen.
  • Now you can type resize +15 to increase the size of the top split
  • C-a Tab, to switch to the other split
  • C-a c to create a new terminal there.
  • Use C-a Tab to switch between the splits.
  • ???
  • PROFIT!

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!


Posted

in

,

by

Tags:

Comments

Leave a Reply