とりあえず.screenrcをさらしておく
bind r eval 'echo "Resize window"' 'command -c resize'
bind -c resize ^] command
bind -c resize j eval 'resize +1' 'command -c resize'
bind -c resize k eval 'resize -1' 'command -c resize'
# スクロールバックバッファ
defscrollback 10000
# ステータスバー
hardstatus on
hardstatus alwayslastline '%{= .b}%H%{-} %L=%-w%45L>%{=u b.}%n %t%{-}%+w %-17<%=%m/%d %02c:%s'
caption always '%?%F%{= bw}%:%{= wk}%?%2n%f%07=%t%='
sorendition '+r .b'
# ボールドのテキストを表示するとき、色を明るい青に変更する。
attrcolor b "b"
# アンダーラインの代わりに青のテキストを用いる。
attrcolor u "b"
# 高輝度色のテキストをボールドにもする。
attrcolor i "+b"
# 256色表示設定
term xterm-256color
# 便利設定
altscreen on
画面分割したときに以下のコマンドでウィンドウ幅の調整ができるように
Ctrl + A r j // ウィンドウ幅を広げる
Ctrl + A r k // ウィンドウ幅を狭める