Top
Best
New

Posted by speckx 3 days ago

Make tmux pretty and usable (2024)(hamvocke.com)
455 points | 278 commentspage 6
traderj0e 3 days ago|
I've always written my code in vim and preferred CLIs in general, but I really want a GUI for the terminal itself, including tmux. iTerm2 makes it nice for example, even if it's only to use the meta/super key instead of the heavily overloaded control.
znpy 3 days ago||
As a long time user of gnu screen (almost fifteen years now) i still have on my todo list to come up with a tmux config that mimics gnu screen… does somebody know if such a thing exists already?

Btw I don’t strictly believe in a gnu screen superiority, i’m just lazy.

atsaloli 3 days ago|
Try https://github.com/ddollar/tmux/blob/master/examples/screen-...
pprotas 3 days ago||
I used tmux for quite some time, and just stopped using it one day. I realized that whatever tmux brings can be done better by a good terminal.

I also hated dealing with all the wrong colors, escape character support, missing chars and messed up terminal buffers

cassepipe 3 days ago||
Wezterm for examples has panes in addition of tabs and scriptable enough (lua) that you can session management:

https://fredrikaverpil.github.io/blog/2024/10/20/session-man...

alwillis 3 days ago||
Most modern terminals have a built-in multiplexing anyway. When you use tmux, you're essentially using a terminal emulator on top of a terminal emulator.
0xDEFACED 3 days ago||
my favorite thing to do with tmux is using a sessionizer script[0] (credit for the idea/original implementation goes to ThePrimeagen). allows for fzf-ing my projects and creating a separate session for each one. especially handy for bouncing around when working on features/fixes that span multiple repos

for (neo)vim users, flattening vim splits and tmux panes into the same level for switching with ctrl+hjkl is handy too

[0](https://github.com/tolly-xyz/dotfiles/blob/main/.local%2Fbin...)

5-0 3 days ago||
> Published on Aug 17, 2015 > Last updated on Oct 2, 2024

Why now?

At least some of the links in it don't mention plugins (which luckily some comments here do). Beside tmux-continuum and tmux-sensible, I'd recommend jaclu/tmux-menus.

halyconWays 3 days ago||
Did they fix being able to select text without a ton of empty spaces across multiple lines, and being able to use the mousewheel as effectively as a non-multiplexed terminal?
nurettin 3 days ago||
I remember running ssh to connect to a mainframe and starting gnu screen remotely right after watching the matrix. And I've used it ever since.

All these newage tmux hippie yuppies can get off my lawn.

OhMeadhbh 3 days ago||
I'm perfectly happy with tmux the way it is, but upvoting this one because it's a decent overview of what to modify to make tmux more better if you don't like its defaults.
avadodin 3 days ago||
I don't see what's awkward about C-b and %.

No mention of replacing the weird-ass emacs thing on [ with proper vim bindings?

hleszek 3 days ago|
I love tmux but one thing which really annoys me is the fact that I cannot use the mouse wheel or the scroll back to see the previous content. I know there are shortcuts to go forward and back but I always forget them and they are not easily accessible on my keyboard and cumbersome.
saint_yossarian 3 days ago|
I think the mouse wheel is mapped by default if you `set mouse on`? I also additionally map Shift-PageUp/Down in my config. And recently they added a `pane-scrollbars` option for a clickable ASCII scrollbar.
hleszek 3 days ago||
Thanks! I works. I modified my ~/.tmux.conf file to be like this:

# Activate mouse mode

set -g mouse on

# Enter copy mode and scroll up with PageUp

bind-key -n Pageup copy-mode -u

# Scroll down with PageDown; if at the bottom, it will exit copy mode automatically

bind-key -T copy-mode-vi Pagedown send-keys -X page-down

bind-key -T copy-mode-vi Pageup send-keys -X page-up

More comments...