X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=.screenrc;h=df17c1d4a5349ce1ea548c4c7d6ac20be33739cc;hb=99ae026171714bb2d9044305479054029e5c4665;hp=bdce4b07ee64c8dd95cdb129a2029cb743f0ef04;hpb=596624f4629703d95ef6c0d10efba2d2c36cb7c5;p=profile.git diff --git a/.screenrc b/.screenrc index bdce4b0..df17c1d 100644 --- a/.screenrc +++ b/.screenrc @@ -1,5 +1,3 @@ -# $Id$ - # Use Control-P instead of Control-A for stuff. escape ^pp @@ -7,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. ################################################################################ @@ -16,8 +18,16 @@ 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. bind t title # Show or hide the hardstatus line.