tmux-sessionx
tmux-sessionx copied to clipboard
Question about previewing and Feature-Request for after deleting attached session with filter-current true
I configured the plugin to display the paths for new sessions using the custom-paths option alongside the active sessions. The only problem is that the file paths I have showing up are not previewed.
I'd previously modified my sessionizer script to show a directory listing for those 'maybe-sessions' file-paths.
Is there a way to do the same with plugin? I tried to modify the preview.sh script a bit. But couldn't find a way to do it in 10 minutes, so I thought I'd ask.
This is what I'm talking about:
Also, this is the modification to the preview script I tried. Don't know if I'm on the right track.
Also, also! With the filter-current option set to true, you are able to see the current session you are attached. Meaning it can be killed with the default alt-backspace command. Doing so exits tmux. While that behavior is understandable I would want it to attach to one of the other available sessions or maybe create a default templated session.
Options for configuring that would be nice.