.screenrc

.screenrc

# escape
escape ^Jj

# caption
caption always "%{= wb} %-w%{=bu dr}%n %t%{-}%+w %= %{=b wk} [%l] %{=b wb}%y/%m/%d(%D) %{=b wm}%c"

# move current
bind n screen
bind h prev
bind j next

# encode
defkanji utf-8
defencoding utf-8
encoding utf-8 utf-8

#resize
bind r eval 'command -c resize'
bind ^r eval 'command -c resize'
bind + eval 'command -c resize'
bind - eval 'command -c resize'
bind -c resize + eval 'resize +1' 'command -c resize'
bind -c resize - eval 'resize -1' 'command -c resize'

# etc
startup_message off
bind l windowlist
autodetach on
bell_msg "^G"
defscrollback 10000
vbell off

term xterm-256color

使い方

プレフィックス

C-jに設定

新しい仮想端末を作成

C-jc

仮想端末の移動

C-jj

分割

C-jS

分割した端末へ移動

C-j(Tabキー) その後必要があれば、C-jj

分割した端末のサイズ変更

C-j+ または C-j-

分割した他の端末を閉じる

C-jQ

分割した現在の領域を破棄

C-jX