0

I have similar question as this one, but I wonder is there are an possibility to filter sessions by name? Maybe use fzf on top of sessions list?

As the result I want to open sessions list via CTRL-b + s (how I can draw button here by the way?), write rust and sessions should be filtered.

invis
  • 1,078
  • 2
  • 14
  • 26

1 Answers1

3

You can try changing the binding in your .tmux.conf to:

bind-key s split-window -v "tmux resize-pane -Z ';' \
 list-sessions -F '#S' | \
 fzf --reverse | xargs tmux switch-client -t"
meuh
  • 11,500
  • 2
  • 29
  • 45