X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=.screenrc;h=df17c1d4a5349ce1ea548c4c7d6ac20be33739cc;hb=cb8fd4bb449e44110ca681bdab168009cf9e229b;hp=13e18a30ebbc4bf9a216aed0b9103043431e6f44;hpb=54082bbcff61df716e7a733536bd61d344574dc5;p=profile.git diff --git a/.screenrc b/.screenrc index 13e18a3..df17c1d 100644 --- a/.screenrc +++ b/.screenrc @@ -1,5 +1,3 @@ -# $Id$ - # Use Control-P instead of Control-A for stuff. escape ^pp @@ -7,21 +5,34 @@ 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. ################################################################################ # Up and down like Vim. bind j focus down 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. -bind h hardstatus alwayslastline -bind H hardstatus alwaysignore -#bind h focus top -#bind l focus bottom +bind v hardstatus alwayslastline +bind V hardstatus alwaysignore ################################################################################ # Terminal settings.