←back to thread

Okay, I Like WezTerm

(alexplescan.com)
488 points alexpls | 7 comments | | HN request time: 0.699s | source | bottom
1. kelsey98765431 ◴[] No.41224907[source]
I will literally switch OS to anything that can implement iTerm2's tmux integration.
replies(2): >>41225147 #>>41229308 #
2. jonhohle ◴[] No.41225147[source]
I only use tmux on remote machines (because Terminal has all of the features I want and don’t need session management locally). Does anything integrate with remote tmux? It would be great to get native tabs for remote tmux windows.
replies(2): >>41225269 #>>41225305 #
3. kelsey98765431 ◴[] No.41225269[source]
Yes, i literally sometimes need to manage dozens of machines at once, all with various tmux sessions monitoring tasks etc. being able to use the same keybinds for split pane, move between pane, smooth scrolling WITHOUT entering tmux curses based scrolling mode, and local buffering... number one reason i main macos after using linux for decades.

EDIT: the command is `tmux -uCC a` to connect to a tmux session, works locally and works over ssh. spawn the tmux session normally, disconnect, then connect via command mode for best results. you can still spawn a new one with just `tmux -uCC` but i have found i can get some issues when i spawn it in command mode vs attach in command mode.

4. galkk ◴[] No.41225305[source]
Iterm2, as parent mentioned.

Run tmux -CC on your remote server in your iterm2 and you’ll get native windows for tmux panels

replies(2): >>41225474 #>>41228084 #
5. jonhohle ◴[] No.41225474{3}[source]
Nice. I had no idea!
6. epiccoleman ◴[] No.41228084{3}[source]
I can't believe I'm just learning about this today!
7. E39M5S62 ◴[] No.41229308[source]
I wrote https://github.com/zdykstra/tmuxc as an alternative implementation of iTerm2's tmux integration. It's terminal agnostic; it just runs a command for each terminal. Depending on the terminal you use, you could probably make it spawn each tmux pane into a dedicated tab.

It's very much designed and built for my specific needs on my specific desktop environments, so there's no promises that it'll work for you well ... or at all.