omerxx / tmux-sessionx

A Tmux session manager, with preview, fuzzy finding, and MORE
GNU General Public License v3.0
556 stars 51 forks source link

Tmuxinator intergration #70

Closed omerxx closed 3 months ago

omerxx commented 3 months ago

This PR adds support for https://github.com/tmuxinator/tmuxinator:

omerxx commented 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
ProgmRuanSilva commented 3 months ago

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

omerxx commented 3 months ago

@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?