Linux Screen Tmux Terminal Split
Screen
Ctrl A + ? -> List of commands
- Can change to Ctrl-J with this line in $HOME/.screenrc: escape ^jJ
- Split panes
C-a + | -> vertical
C-a + S -> horizontal
Save layout
Ctrl-a :layout save default
- Resize panes
- C-a :resize -h 10
- C-a :resize -v 10
Increase scroll buffer(def. 100)
echo defscrollback 1000 >> $HOME/.screenrc
.screen_layout (50% / 50% vertical, with 2 shells):
split -v screen -t s1 focus screen -t s2 focus