Closed omerxx closed 3 months ago
To anyone landing here before this is merged, if you could test this out it would be super helpful!
Use this to install this branch of the plugin and test it:
ctrl-/
to lust your tmuxinator projects and just randomly try to create a session with an existing project's name while having sessionx-tmuxinator mode 'on
in your config (it's all in the readme)
omerxx/tmux-sessionx#tmuxinator-intergration
Hey @omerxx I spent these days sick, but now I'm better.
In my thoughts, sessionx has to be more like the framework.
for example, I intend to do something to handle gitworktree, for example: worktreex or something similar
You could use the sessionx base and just add a function to open the worktree
The problem with this proposition is how to do this
@ProgmRuanSilva Happy you're better! I see your point. This would require the plugin to use a modular / pluggable approach by sourcing a set of functions from a plugin (list, preview, action). Ideally- this would be an interface for any contributor to satisfy. We can do both I guess - start with simple integrations and over time grow to the modular approach. I'm assuming this would take a bit more work with a real language (Go/Rust)
WDYT?
This PR adds support for https://github.com/tmuxinator/tmuxinator:
cat
ATM), defaults toCtrl-/
tmuxinator_mode
(off by default), which, if turned on, detects the given session name and if it is found as an existing tmuxinator project, launches it