root/dotfiles/screen/xcezx-screenrc @ 15061

Revision 4196, 1.5 kB (checked in by xcezx, 7 years ago)
Line 
1# ~/.screenrc
2
3nethack         on
4escape          ^t^t
5bell_msg        "Bell in window %n: %t"
6vbell           off
7autodetach      on
8startup_message off
9defscrollback   10240
10hardstatus      on
11hardstatus      alwayslastline "%{=u Wr}[%Y-%m-%d %02c%{-u Wr}] %{Wk}%-w%{BW}%n %t%{-}%+w"
12caption         splitonly "%{.BW} >> %n %t"
13msgwait         2
14
15termcapinfo     xterm 'Co@256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
16defbce          on
17term            xterm-256color
18
19# Key bind
20bind ^k
21bind ^\
22bind ^G
23bind \\ quit
24bind k kill
25bind / eval "scrollback 0" "scrollback 10240"
26
27# Split
28bind -c REGION 2 split
29bind -c REGION 1 only
30bind -c REGION 0 remove
31bind -c REGION o focus
32bind -c RESIZE = eval 'resize ='  'command -c RESIZE'
33bind -c RESIZE J eval 'resize +5' 'command -c RESIZE'
34bind -c RESIZE K eval 'resize -5' 'command -c RESIZE'
35bind -c RESIZE j eval 'resize +1' 'command -c RESIZE'
36bind -c RESIZE k eval 'resize -1' 'command -c RESIZE'
37bind -c REGION r eval 'echo "j: -1 / k: +1 / other: quit"' 'command -c RESIZE'
38bind x eval 'echo "2: split / 1: only / 0: remove / o: focus r: resize"' 'command -c REGION'
39
40# App
41bind -c APP a screen -t aptitude sudo aptitude
42bind -c APP c screen -t cpan sudo cpan
43bind -c APP t screen -t top top
44bind a eval 'echo "a: aptitude / c: cpan / t: top"' 'command -c APP'
45
46markkeys h=^B:l=^F:$=^E:^D=V
47
48# Init.
49screen -t ROOT    9
50screen -t THETA   8
51screen -t ETA     7
52screen -t ZETA    6
53screen -t EPSILON 5
54screen -t DELTA   4
55screen -t GAMMA   3
56screen -t BETA    2
57screen -t ALPHA   1
58screen -t ZERO    0
59
60# __END__
Note: See TracBrowser for help on using the browser.