Live data from Hacker News

Use fzf for tmux session switching

waylonwalker.com

1–10 of 61 posts

Re: Use fzf for tmux session switching

#6
tmux sessions are incredibly useful for keeping multiple projects organized.

i just wish i could connect to remote tmux back ends and recover windows as organized locally after a network cut.

so the local tmux presents the ui and performs session management, and the remote tmux backends hold the shells to provide network cut resilience, but still rely on the local ui instance for all user interaction (so cut/paste buffers and mousing and such are preserved)

Re: Use fzf for tmux session switching

#7

It is interesting how much people use tmux for working in several interactive shells at once. I tend to use tmux more for running servers in detached windows.

I use it to manage my dev environment with a bunch of sessions.

One for my blog, podcast, 2 side projects, contract work, etc.. I usually have 6-10 sessions. Although I don't use fzf to search through them. The built in leader+s key makes finding and jumping between sessions painless, you also get the benefit of being able to see a preview of what's in the session.

Re: Use fzf for tmux session switching

#8
post #3

Video is cut off on mobile

Yes I had the same, after about 2 minutes things became weird and cut off.

Seems like a transcoding error for certain devices only then, if nobody else noticed it.

Unrelated, but it was completely impossible for me to put the video on full screen. It seems like the site did something with the scroll that prevented me from scrolling horizontally to click the full screen button.

Re: Use fzf for tmux session switching

#10
post #6

tmux sessions are incredibly useful for keeping multiple projects organized. i just wish i could connect to remote tmux back ends and recover windows as organized locally after a network cut. so the local tmux presents the ui and performs session management, and the remote tmux backends hold the shells to provide network cut resilience, but still rely on the local ui instance for all user interaction (so cut/paste bu…

Modern ssh supports forwarding of Unix domain sockets

On remote host:

    $ tmux -S /tmp/remote.sock
    
On local host:

    $ ssh -L /tmp/local.sock:/tmp/remote.sock user@remote
    $ tmux -S /tmp/local.sock attach

I Typed this on a phone and not validated but it looks good to me right now
Post reply on HN