X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=.screenrc;h=9624f7c5bf55326fc72332e0c79c463266fae3e4;hb=91f4c218cbcf1e754011dc4b2ed89569407d63c4;hp=bdce4b07ee64c8dd95cdb129a2029cb743f0ef04;hpb=596624f4629703d95ef6c0d10efba2d2c36cb7c5;p=profile.git diff --git a/.screenrc b/.screenrc index bdce4b0..9624f7c 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. @@ -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.