Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Visualize running sessions in list command #52

Open
coreyja opened this issue Dec 7, 2020 · 1 comment · May be fixed by #57
Open

[Feature Request] Visualize running sessions in list command #52

coreyja opened this issue Dec 7, 2020 · 1 comment · May be fixed by #57

Comments

@coreyja
Copy link
Contributor

coreyja commented Dec 7, 2020

System Info

OS: Mac OS 11.1
Muxed Version: v0.8.2

Feature Description

It would be cool if the list command identified sessions that are currently running in tmux.

For example sessions could be pre/post fixed with an asterisk to identify there is an active session for this project. This could also be toggled via a command line flag is desired too

Reason

I currently use Prefix-s or choose-tree to switch between currently running sessions in tmux. I sometimes then want to switch to a project I don't have currently open. I developed a different workflow recently that works well! Using tmux popup -KER 'muxed load $(muxed ls | sed -e "s/\t\t/\n/g" | fzf)' I can use the new tmux popup command to create a popover to fuzzy find and select the project I want to open. If these was a way to identify currently running sessions like this it would make it just that much more useful!

👋 I would love to help out with this, I've been missing Rust recently lol. But wanted to see what feedback you had before getting started! This is a pretty recent addition to my workflow but I've been liking it a lot so far

@coreyja coreyja changed the title [Feature Request] Visualize runing session in list command [Feature Request] Visualize running session in list command Dec 7, 2020
@coreyja coreyja changed the title [Feature Request] Visualize running session in list command [Feature Request] Visualize running sessions in list command Dec 7, 2020
@brianp
Copy link
Owner

brianp commented Dec 14, 2020

Welcome back!
TIL:tmux popup I'm going to have to give this workflow a try it seems useful.

Absolutely! This sounds like a great addition. My only initial thought aligns with what you've mentioned already. Using a an identifier that mimics tmux's defaults. * to represent running sessions.

I might even go as far as to making the (attached) addition as well. In the event you're inside one of the running sessions.

I'll leave it to you to PR, and look forward to reviewing. Let me know if you needed any feedback in wip or otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants