Show various marks in the left margin.
[profile.git] / .screenrc
index 4bd1a08..9624f7c 100644 (file)
--- a/.screenrc
+++ b/.screenrc
@@ -5,6 +5,10 @@ escape ^pp
 vbell off
 startup_message off
 
+# Coloured windowlist.
+windowlist title "%{= wb}%{+b}%{+r}[%H]%{-r}%{-b} current windows%="
+windowlist string "%{+ .b}%{+ g}%3n%f%{+ w} %t"
+
 ################################################################################
 # Hotkeys.
 ################################################################################
@@ -14,8 +18,14 @@ bind k focus up
 # Previous and next kinda like Vim.
 bind h prev
 bind l next
+# Digraph.
+bind ^k digraph
 # Close the current window.
 bind q remove
+# Fit window to screen.
+bind _ fit
+# Show window list.
+bind = windowlist
 # Don't accidentally send xoff.
 bind s
 # Set current window title.
@@ -29,6 +39,8 @@ bind V hardstatus alwaysignore
 ################################################################################
 # How to set the foreground and background colours.
 termcapinfo putty*|rxvt-unicode|xterm-* 'AB=\E[48;5;%dm:AF=\E[38;5;%dm'
+# How to resize the window.
+termcapinfo putty*|rxvt-unicode|xterm-* 'WS=\E[8;%d;%dt'
 # How to set the hardstatus line (ie title bar).  Even though we don't use it.
 termcapinfo xterm* 'ts=\E]0;:fs=\007:ds=\E]0;\007'
 # Allow PgUp/PgDn to work correctly.