From: Iain Patterson Date: Thu, 14 May 2009 15:22:40 +0000 (+0100) Subject: Window tweaks for screen. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=adbc1b54bc543bfbc62fddc1ab07956ecf6cc35f;p=profile.git Window tweaks for screen. Bind digraph to ^K. Bind fit to _. Bind windowlist to = and colour the window list. --- diff --git a/.screenrc b/.screenrc index 4bd1a08..df17c1d 100644 --- 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.