Suggest panes only from current session.
aerohit opened this issue · 4 comments
Firstly, thanks for writing such an awesome plugin. Just one request, is it possible to configure slimux in any way such that when doing SlimuxREPLConfigure, it only suggests panes from the active session and not all the tmux sessions. I usually have more than one tmux session running, and it therefore ends up suggesting a long list of panes.
Thanks
Hmm, maybe as an option as I have used slimux to send commands to other tmux sessions.
It's nice because then you can open a status window on a another screen and send commands to it. Or even on another machine if you are working on a server.
I understand the default implementation for the reason you have given, but it would be nice if I could configure it. More power/options to the end-user :).
please check https://github.com/epeli/slimux/tree/experimental , on commit 240b149 I implemented the mechanism to exclude other tmux sessions, this can be disabled by setting the variable g:slimux_exclude_other_sessions
to 0 on your vimrc
Please test this branch to expedite the process of merging.