by hugodan 4 days ago

I would love to have a way to switch sessions easily, like with panes where I just click or have more shortcuts available

maniacalrobot 3 days ago | [-0 more]

Here’s a simple session switcher: `bind C-a display-popup -E "tmux list-sessions -F '#{session_name}' | fzf --reverse | xargs tmux switch-client -t"`. No plugins, nothing fancy, just works.

nagaiaida 3 days ago | [-0 more]

i just have a little script called session (invoked as session namespace name and mapping to a tmux session called namespace/name and searching all namespaces if the namespace is elided) that just does the right tmux invocation for the various intersecting cases of [in or not in a tmux session already, target session does or does not exist] which also has the side benefit of leaving shell history breadcrumbs i can follow between sessions later if needed

fenazego 4 days ago | [-0 more]
gsinclair 4 days ago | [-0 more]

People have developed plugins for this. Check out “sesh” for instance.

Switching between sessions with fuzzy finding, and creating new ones when needed, is a wonderful feature.

saint_yossarian 4 days ago | [-0 more]

Check out the `choose-tree` and `display-menu` commands.

lozf 4 days ago | [-0 more]

Prefix-w works, or did you want something more?