3 ms·
While this is true, screen has not been getting some features that people see as important, like vertical splits. (I mostly hear about this stuff because I sti
by steveklabnik 10y ago
While this is true, screen has not been getting some features that people see as important, like vertical splits.
(I mostly hear about this stuff because I still used screen and tons of people are like "why don't you tmux")
- cm3 10y agoI use screen because tmux forces me to explicitly define quick bindings for each binding where I don't want to lift my finger before pressing the letter. So, where I can write `C-a c` in screen without taking my finger off the keyboard, I have to explicitly add `bind-key C-c new-window` in tmux.conf for this. Otherwise it's not as ergonomic as in screen, and now I have to do configure this for each key I use, which granted isn't that many, but still it's a nuisance without a good justification. Tmux is fine for me if I ignore that. But some people miss certain screen features in tmux, so it's fair to mention that as well.
- ymse 10y agoWhy don't you just change the prefix key instead? unbind C-b set -g prefix C-a bind-key C-a send-prefix I use C-z FWIW.
- cm3 10y agoNice, that seems to work. Is there a downside to using this? I had to still explicitly add `bind-key C-a previous-window` to emulate screen's `C-a a` to switch between last windows.
- lewiseason 10y agoThe only real downsites are if you use screen/minicom/etc inside tmux you tend to mash Ctrl-a quite a lot, but if anything that's easier than keeping track of which key goes with which level?
- ymse 10y agoThe above is how most people first configure tmux, since C-b is just awkward. `bind-key C-a send-prefix` is optional of course, but is used to forward C-a to the active window (beginning-of-line in shell and emacs). How would you do that in screen? The default for `previous-window` is `prefix-p`. Run `tmux list-keys` to see all active bindings.
- symlinkk 10y agoscreen supports vertical splits for me, on Debian 8
- poooogles 10y agoIsn't a vertical split `Ctrl A, |`?
- steveklabnik 10y agoTo reply to you and my other sibling, last I checked, some distros added this, but it's not upstream.
- amadeusz 10y agoVertical splits are present from 4.2.0 up.