pallavJha / chaakoo

Slice and dice your TMUX windows and panes
Apache License 2.0
82 stars 2 forks source link

multiple tmux sessions from single yaml file #11

Open snr2718 opened 2 years ago

snr2718 commented 2 years ago

Currently the yaml config file has a name field.

If the Config file is used to create a tmux session, an error is thrown if another tmux session with same name exists. But, sometimes if we want to create multiple sessions from the same config file, it is not possible. The suggestion would be to allow multiple sessions to be created from one config file with the same name followed by a numbered suffix.

Eg: If the name is hello then sessions can be created with names 'hello', 'hello-1', 'hello-2' and so on

A practical use case would be creating multiple instances of vim + shell layout for each different project we on.