/
.screenrc
executable file
·56 lines (41 loc) · 1.1 KB
/
.screenrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
bell_msg "^G"
defkanji utf-8
defencoding utf-8
encoding utf-8 utf-8
# 256色表示
term xterm-256color
# シェルが突然閉じてもデタッチする為の設定
autodetach on
# 画面外のログをどれだけ残すか
defscrollback 2000
markkeys h=^B:l=^F:$=^E:^U=^Z:^D=^V
# vimで色がおかしくなる対策
defbce on
# ベルoff
vbell off
# 起動時のメッセージoff
startup_message off
# ステータスバーの設定
# caption always "%{= wb} %-w%{=bu dr}%n %t%{-}%+w %= %{=b wk} [%l] %{=b wb}%y/%m/%d(%D) %{=b wm}%c"
caption always "%{= wk} %-w%{=bu dr}%n %t%{-}%+w %= %{=b wb}%y/%m/%d %{=b wb}%c"
#caption always "%{=r dd}%-Lw%40L>%?%F%{=b dR}%:[%? %n%f %t %?%F%{-}%:]%?%+Lw %?%F%-024=GNU Screen%:%=%?"
# キーバインド
escape ^Jj
#zombie ^[
bind n screen
bind k prev
bind j next
bind l windowlist
setenv LANG ja_JP.UTF-8
bind ; resize +5
bind - resize -5
# デフォルトのシェルの設定
shell /bin/zsh
# Messages
msgwait 3
msgminwait 2
hardstatus string "%?%h%:%t (screen #%n on %H)%?"
sorendition "= Rk"
# 起動直後のデフォルト位置
chdir
screen -t zsh 0 zsh -l