screen to tmux

I use screen a lot, but not much of it. Given recent developments around several CVEs I decided to try to learn the tmux equivalent of what I use. Both have the concept of windows. Both allow rebinding commands to keys, but these are the default bindings. tmux also has subcommands like tmux ls. Both support splitting the window; screen calls the areas 'regions'; tmux calls them panels.

Feature screen tmux
list active sessions screen -ls tmux ls
new named session screen -dR foo tmux -L foo
reattach a session screen -dR foo tmux -L foo attach
control key C-a C-b
detach d d
new window c c
next window n n
previous window p p
split horizontally S "
split vertically | %
go to next pane TAB o
rename session 1 $

  1. sessions can't be renamed in screen