Closed FrostyX closed 8 months ago
Do you mean preview the content? It’s already supported and enable by default.
Thank you for the reply @sainnhe, It will be probably the easiest to show you.
Here, you can see the list of all my Tmux sessions. The currently attached session is named fedora-review
.
Here I am running ~/.tmux/plugins/tmux-fzf/scripts/session.sh switch
As you can see, all the sessions are listed except for the fedora-review
.
It’s expected. Since the action is “switch”, the current session is excluded in the list.
Oh, so it is a feature. Can we optionally have the current session/window/etc included in the list, please? This wouldn't be unprecedented ... FZF plugin in Vim also lists the current buffer among the possible buffers to switch. Same for narrowing frameworks in Emacs, etc.
PR is welcome.
PR is welcome.
Perfect, thank you :-) I submitted PR #79
For some reason, I cannot see the current session, window, and pane when switching. I am not sure whether it is a bug or a feature but it is IMHO very unpleasant.
If this is a feature, can we have have a config variable to optionally show current thing in the fzf items, please?