I would like to use tmuxinator for my work. I have a folder which has several files not more than 6-7 files. I want tmuxinator to be configured such that tmux has a window with splitted panes all of which are assigned to a specific file in the folder.
tmuxinator project goes as follows:
name: case
root: <%= ENV["PWD"] %>
windows:
setup:
panes:
- < this list should change dynamically>
any ideas?
Another, arguably more flexible option, would be to pass the list of files to tmuxinator using CLI args.
For example, you could change your project config file to the following:
... and then start tmuxinator using:
tmuxinator start case $(find . -maxdepth 1 -type f)