Hacker News new | past | comments | ask | show | jobs | submit login

Discovering tmux and finding a workflow with it that works for me made me so much more productive

I have a really weird setup though.

I run screen on my laptop with a window for each machine I'm connected to. An irc box, a VM, a remote dev box, and a local screen. All of these Screen Windows I have a tmux session in.

I have a minima tmux config that makes resizing panes easy and fast to whatever size I want and whatever order I want.

It sounds stupid but I see people using multiple iterm or terminal Windows and I don't know how they do it. It just feels so slow to me. Tmux and screen are awesome you just need to find one that works for you.




You can also have nested tmux sessions instead of screen+tmux setting:

https://mutelight.org/practical-tmux

" Command Sequence for Nested Tmux Sessions

Often I'll run a multiplexer inside another multiplexer and need a command sequence to send things to the inner session. In Screen, this could be accomplished using C-a a <command>. This doesn't work out of the box in tmux, but can be fixed with a little configuration.

bind-key a send-prefix "


I can but I didn't like it as much. Screen out of the box with no screenrc was exactly what I wanted. now it's kind of stuck, as silly as using screen and tmux is.


Why do you use screen locally instead of tmux?


I use screen only to switch between servers. one of my screen Windows is a local tmux session.

It's wonky




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: