ttab icon indicating copy to clipboard operation
ttab copied to clipboard

new iterm2 window, then split that window vertically

Open Abu-Daud opened this issue 2 years ago • 1 comments

is this behavior possible?

Abu-Daud avatar Feb 09 '24 18:02 Abu-Daud

It is possible, yes.

Note that #8 asks for a horizontal split and links to this Stack Overflow answer which shows a custom Bash function that wraps AppleScript code; if you replace the word horizontally with vertically there, you'll get a vertical split.

There are two considerations:

  • Generally, I haven't worked on ttab for a while, and I can't make promises with respect to when I'll take a closer look.

  • Ideally, the same support should be added for Terminal.app and Gnome-Terminal - but it looks like that's not possible.

mklement0 avatar Feb 12 '24 14:02 mklement0

Thanks to @HofiOne, support for this is coming soon (has yet to be published).

mklement0 avatar May 22 '24 20:05 mklement0

v0.9.0 has been published with this feature.

To upgrade:

  • If you originally installed via npm: [sudo] npm upgrade ttab -g
  • If you originally installed via Homebrew: brew upgrade mklement0/ttab/ttab

mklement0 avatar May 22 '24 23:05 mklement0