20 termcapinfo xterm*|Eterm|mlterm "hs:ts=\E]0;:fs=\007:ds=\E]0;screen\007" |
19 termcapinfo xterm*|Eterm|mlterm "hs:ts=\E]0;:fs=\007:ds=\E]0;screen\007" |
21 hardstatus off |
20 hardstatus off |
22 hardstatus string "screen %n (%t)%? [%h]%?" |
21 hardstatus string "screen %n (%t)%? [%h]%?" |
23 caption always "%{-u wb}%-w%{+u Wb}%n%f*%t%{-}%+w" |
22 caption always "%{-u wb}%-w%{+u Wb}%n%f*%t%{-}%+w" |
24 |
23 |
|
24 # split movements with C-a arrow |
|
25 bind -k kl focus left |
|
26 bind -k kd focus down |
|
27 bind -k ku focus up |
|
28 bind -k kr focus right |
|
29 |
|
30 bind -k -a kl focus left |
|
31 bind -k -a kd focus down |
|
32 bind -k -a ku focus up |
|
33 bind -k -a kr focus right |
|
34 |
|
35 # F2 puts Screen into resize mode. Resize regions using hjkl keys. |
|
36 bind R eval "command -c rsz" # enter resize mode |
|
37 |
|
38 # resize mode keys {{{ |
|
39 # use hjkl keys to resize regions |
|
40 bind -c rsz h eval "resize -h -5" "command -c rsz" |
|
41 bind -c rsz j eval "resize -v -5" "command -c rsz" |
|
42 bind -c rsz k eval "resize -v +5" "command -c rsz" |
|
43 bind -c rsz l eval "resize -h +5" "command -c rsz" |
|
44 |
|
45 # quickly switch between regions using tab and arrows |
|
46 bind -c rsz \t eval "focus" "command -c rsz" # Tab |
|
47 bind -c rsz -k kl eval "focus left" "command -c rsz" # Left |
|
48 bind -c rsz -k kr eval "focus right" "command -c rsz" # Right |
|
49 bind -c rsz -k ku eval "focus up" "command -c rsz" # Up |
|
50 bind -c rsz -k kd eval "focus down" "command -c rsz" # Down |
|
51 # }}} |
|
52 |
|
53 # and local settings |
|
54 source $HOME/.screenrc.local |
|
55 |
25 # skip window 0 |
56 # skip window 0 |
26 bind c screen 1 |
57 bind c screen 1 |
27 bind ^c screen 1 |
58 bind ^c screen 1 |
28 bind 0 select 10 |
59 bind 0 select 10 |
29 screen 1 |
60 screen 1 |
|
61 |