lasse16 / dotfiles

These are my dotfiles, including a basic setup and disable script.
2 stars 0 forks source link

Replace or improve tmux #8

Closed lasse16 closed 2 years ago

lasse16 commented 3 years ago

I am in dire need of a terminal multiplexer.

As I am using mostly WSL, common tiling window managers do not work. They are superseded by the windows window manager.

Tmux has some severe line wrapping issues, see this, when using my terminal emulator, WIndows Terminal Preview.

Windows Terminal however encompasses some multiplexer functionality, like pane-splitting for example. It works better than Tmux but does not allow for sessions, including attaching and detaching.

I've been looking at zellij. Apart from the layout-system, their feature set is contained inside the my terminal emulator. At this moment Zellij does not support sessions, hence there is no difference apart from the layout-system between what Windows Terminal Preview and Zellij provide. Differences between Tmux and Zellij are provided here.

Three things are are important to me, when looking at terminal multiplexers, apart from simple splitting the terminal:

A functional layout system is optional as Vim provides something similar already.

lasse16 commented 3 years ago

There is an issue requesting scroll-mode on Windows Terminal. It looks like a lower priority feature, but it is supposed to be implemented in verison 2.0, which is set to premier at 31.12.3021 .

lasse16 commented 3 years ago

Upgraded to tmux-3.2.1

lasse16 commented 2 years ago

Update: I switched to alacritty as it is a cross-platform terminal emulator. Alacritty offers a scrollback too. So, there is still an overlap. By now, I started thinking that there might be no way around it, as almost every terminal emulator implements scrollback. Even alacritty despite wanting to leave all extra features to better suited tools.

Further, I started using tmuxp. A python project which always for storing a tmux window configuration. This is essentially zellij's layout feature.

So, there is no need for me to change anything in this regard anymore.