Git configuration.
[profile.git] / .screenrc
1 # $Id$
2
3 # Use Control-P instead of Control-A for stuff.
4 escape ^pp
5
6 # Turn off annoyances.
7 vbell off
8 startup_message off
9
10 ################################################################################
11 # Hotkeys.
12 ################################################################################
13 # Up and down like Vim.
14 bind j focus down
15 bind k focus up
16 # Close the current window.
17 bind q remove
18 # Set current window title.
19 bind t title
20 # Show or hide the hardstatus line.
21 bind h hardstatus alwayslastline
22 bind H hardstatus alwaysignore
23 #bind h focus top
24 #bind l focus bottom
25
26 ################################################################################
27 # Terminal settings.
28 ################################################################################
29 # How to set the foreground and background colours.
30 termcapinfo putty*|rxvt-unicode|xterm* 'AB=\E[48;5;%dm:AF=\E[38;5;%dm'
31 # How to set the hardstatus line (ie title bar).  Even though we don't use it.
32 termcapinfo xterm* 'ts=\E]0;:fs=\007:ds=\E]0;\007'
33 # Allow PgUp/PgDn to work correctly.
34 termcapinfo * 'ti@:te@'
35 # Force hardstatus off so we can have the line on the screen and toggle it.
36 termcapinfo * 'hs@'
37 # Support 256 colours with background clear erase.
38 term screen-256color-bce
39 # Turn on background clear erase.
40 defbce on
41
42 ################################################################################
43 # Caption settings.
44 ################################################################################
45 # Display hardstatus on the bottom of the screen instead of in the title bar.
46 hardstatus off
47 # The string is white on blue text showing: hostname, current window, date.
48 hardstatus string "%{= BW}%H [screen %n: %t]%<%=%Y-%m-%d %0c:%s"
49 # Show a caption bar for every window even if there are no splits.
50 caption always
51 # Format a caption string depending on whether it is related to the active 
52 # window or not (%?%Fxxx%:yyy%? shows xxx if the window is active and yyy 
53 # otherwise).
54 # The caption consists of a white background bar.  The active window has 
55 # a blue marker at either end and the text is blue.  Inactive windows have 
56 # black text.  All windows show the name of all windows with the current one 
57 # highlighted in square brackets.
58 caption string "%?%F%{= wb}%:%{= wk}%?%-Lw%50>%{+b}%{+r}[%n%f %t]%{-r}%{-b}%+Lw%< %="
59 # %?%F%{= wb}%:%{= wk}%?
60 # Show everything in blue on white if the window is active or black on white
61 # if the window is inactive.
62 #
63 # %-Lw%50>
64 # Left-aligned window list up to but not including the active window.
65 #
66 # %{+b}%{+r}[%n%f%t]%{-r}%{+b}
67 # Show name, flags and title in bold reverse.
68 #
69 # %+Lw
70 # All remaining window names.
71 #
72 # %< %=
73 # Truncate here, hack in a space to force the reverse video to flip off then 
74 # pad remaining text.