You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, thanks for this awesome tool.
Now, I am asking what is the best way to include a project in another without to duplicate code.
I found some manners like use python, but there ... maybe there are good practices about.
best regards,
story
The text was updated successfully, but these errors were encountered:
This functionality isn't currently supported by tmuxinator or Yaml. However, if/when PR #652 lands, that should solve the same problem from a different angle.
Otherwise, I haven't ever seriously tried to do this, but you may be able to use ERB in your project's config file to inject Yaml snippets. YMMV, but something like:
# /home/user/.config/tmuxinator/two.yml
name: two
windows:
- other_editor:
layout: main-vertical
panes:
- echo "hi from two!"
# /home/user/.config/tmuxinator/one.yml
name: one
windows:
<%= IO.read("./two.yml") %>
- editor:
layout: main-vertical
panes:
- echo "hi from one!"
Hi,
First, thanks for this awesome tool.
Now, I am asking what is the best way to include a project in another without to duplicate code.
I found some manners like use python, but there ... maybe there are good practices about.
best regards,
story
The text was updated successfully, but these errors were encountered: