From adbc1b54bc543bfbc62fddc1ab07956ecf6cc35f Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Thu, 14 May 2009 16:22:40 +0100 Subject: [PATCH] Window tweaks for screen. Bind digraph to ^K. Bind fit to _. Bind windowlist to = and colour the window list. --- .screenrc | 10 ++++++++++ 1 file changed, 10 insertions(+) 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. -- 2.20.1