-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_screenrc
59 lines (45 loc) · 1.16 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
56
57
58
59
# 現在の背景色で消去する
defbce on
# 256色表示設定
term xterm-256color
termcapinfo xterm 'Co#256:AB\E[48;5;%dm:AF=\E[38;5;%dm'
# 太字に明るい色を使う
attrcolor b ".I"
# screen でUTF-8を使う
defencoding utf-8
encoding utf-8 utf-8
defkanji utf-8
# エスケープをCtrl+zに
escape ^Jj
# ハングアップ時に自動でタッチ
autodetach on
# スタートアップ時の画面をオフ
startup_message off
# スクロールバッファ
defscrollback 10000
# 別画面サポート
altscreen on
# ビジュアルベル(画面全体が点滅する)を切る
vbell off
# ベルの時は音を出す
bell_msg "^G"
# ステータス表示
caption always "%{= wb} %-w%{=bu dr}%n %t%{-}%+w %= %{=b wk} [%l] %{=b wb}%y/%m/%d %{=b wm}%c"
# controll binding
bind n screen
bind h prev
bind j next
bind l windowlist
# resize binding
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'
# split window evenly when terminal start
screen -t zsh 1 zsh -l
screen -t zsh 0 zsh -l
split -v
select 0
focus
select 1
focus