我试图从屏幕切换到 tmux。我的 screenrc 配置之一允许我在屏幕的大部分顶部水平部分运行 vim(我使用 NERD_tree + 许多 vim 拆分),并在底部为 shell 命令保留一个小得多的拆分窗口。我的 screenrc 的一部分处理拆分窗口:
# start two sessions
screen -t code vim
screen -t shell
# goto screen 0 and split it
select 0
split
# switch to bottom split and make it 8 lines smaller
focus
resize -8
# select screen 1 to show in bottom split
select 1
focus