logoalt Hacker News

Imustaskforhelpyesterday at 12:33 AM2 repliesview on HN

I would love to use tmux. I have used yazi in the past and I really liked it but I was barely using it to its fullest potential.

I think I have "skill issue" regarding tmux and I used to use hyprland (recently went to niri) and I just always preferred opening up another terminal I used to use (which was foot back when I was using my own config and it was alacritty on cachy/ idk what was on omarchy for the time I was on omarchy but I don't like omarchy)

Is there actually a way to fix this skill issue, like I want something so simple in start that I just run it and forget and still get decent amount of benefits?


Replies

chrysopraceyesterday at 1:30 AM

tmux fits my personal use case better so I'll tell you why I use tmux and then if that resonates with you, then you might get value from that as well.

- It's generally bundled on most distros, or available for install in most default repositories.

- tmux sessions are available over ssh, so if I can continue where I left off over ssh (this is probably my main use case).

- I can full screen my terminal instead of having multiple terminals, and split in tmux. I usually split vim buffers, but then keep a terminal split beside it or in another tmux window.

- It's keyboard-driven, and universal across different window managers. Even if I switch from MacOS to Windows or to an X11 distro, tmux will still have the same keybinds using the same configuration language. I can also use vim keys to navigate the scrollback history.

- Its config language is simple enough for the modifications I personally need. I haven't felt that I need to learn the syntax beyond the basics.

- Knowing tmux is also a helpful skill for managing servers, which I do from time to time (my raspberry pi is still running a tmux session from when I last rebooted it).

colordropsyesterday at 8:02 AM

* use a prepackaged tmux config that makes it look nice and smooths out rough edges

* Spend some time learning keybindings and commands. Just an hour or two should be enough.

* Learn about the top plugins and install them. There's a plugin that saves and restores your session, I forget the name, but it's great

* If you use vim, set up both vim and tmux with the right plugins so that the same keybindings navigate across both vim and tmux splits seemlessly.