dot/screenrc: Erase to current background colour by default.
[profile] / dot / screenrc
index e4f4652..5962a63 100644 (file)
@@ -9,7 +9,10 @@ escape ^zz
 vbell off
 
 ## Maintain a decent amount of scrool.
-defscrollback 1000
+defscrollback 10000
+
+## Terminal behaviour.
+defbce on
 
 ## Snooping.
 defmonitor on
@@ -48,7 +51,70 @@ rendition monitor + .R
 rendition bell +b .R
 rendition silence + .g
 
+## Don't adjust the widths of terminal windows when starting up.
+terminfo xterm-256color is="\E[!p\E[?4l\E[4l\E>"
+
 ## Arrange for windows whose processes fail to hang around so I can see what
 ## happened to them.  The manual says I should use `defzombie' here, but
 ## screen doesn't seem to understand that.
 zombie qr onerror
+
+## Customize key bindings.
+bind \040
+bind ( focus up
+bind ) focus down
+bind {
+bind }
+bind \
+bind ^a
+bind a
+bind A layout attach
+bind ^b
+bind b
+bind B
+bind C
+bind d
+bind D
+bind ^e
+bind e
+bind E layout select
+bind ^f
+bind f
+bind ^g
+bind g
+bind G
+bind ^h
+bind \177
+bind H
+bind I
+bind ^j
+bind j
+bind J
+bind ^k
+bind k
+bind K
+bind l
+bind L layout new
+bind ^m
+bind m
+bind N layout next
+bind ^o
+bind o
+bind O layout show
+bind P layout prev
+bind ^q
+bind ^r
+bind r
+bind R layout remove
+bind ^s
+bind t
+bind T
+bind ^u
+bind u
+bind U
+bind V
+bind w
+bind W
+bind ^y
+bind y
+bind Y