zellij-org / zellij

A terminal workspace with batteries included
https://zellij.dev
MIT License
20.91k stars 639 forks source link

[feature request] Control placement of new tab #3387

Open and-reas-se opened 4 months ago

and-reas-se commented 4 months ago

Hi,

The way my brain works to keep tabs organized, I like to have related tabs close to each other. The new feature to move tabs is super handy, but I find myself spending more time using it than I'd like. If I'm opening a new tab it's usually related to what I have open in the current tab, so most of the time I find myself moving the new tab back to there.

Thus my request is an argument to the NewTab action that lets you control where the tab ends up, and specifically with an option to have it end up next to the current tab.

Thanks!