1 # Use Control-P instead of Control-A for stuff.
8 ################################################################################
10 ################################################################################
11 # Up and down like Vim.
14 # Previous and next kinda like Vim.
17 # Close the current window.
19 # Set current window title.
21 # Show or hide the hardstatus line.
22 bind v hardstatus alwayslastline
23 bind V hardstatus alwaysignore
25 ################################################################################
27 ################################################################################
28 # How to set the foreground and background colours.
29 termcapinfo putty*|rxvt-unicode|xterm-* 'AB=\E[48;5;%dm:AF=\E[38;5;%dm'
30 # How to set the hardstatus line (ie title bar). Even though we don't use it.
31 termcapinfo xterm* 'ts=\E]0;:fs=\007:ds=\E]0;\007'
32 # Allow PgUp/PgDn to work correctly.
33 termcapinfo * 'ti@:te@'
34 # Force hardstatus off so we can have the line on the screen and toggle it.
36 # Support 256 colours with background clear erase.
37 term screen-256color-bce
38 # Turn on background clear erase.
41 ################################################################################
43 ################################################################################
44 # Display hardstatus on the bottom of the screen instead of in the title bar.
46 # The string is white on blue text showing: hostname, current window, date.
47 hardstatus string "%{= BW}%H [screen %n: %t]%<%=%Y-%m-%d %0c:%s"
48 # Show a caption bar for every window even if there are no splits.
50 # Format a caption string depending on whether it is related to the active
51 # window or not (%?%Fxxx%:yyy%? shows xxx if the window is active and yyy
53 # The caption consists of a white background bar whose foreground colour
54 # depends on the window status. Active windows are in blue; inactive in black.
55 # The current window's settings are highlighted in reverse video with square
57 caption string "%?%F%{= wb}%:%{= wk}%?%-Lw%50>%{+b}%{+r}[%n%f %t]%{-r}%{-b}%+Lw%< %="
58 # %?%F%{= wb}%:%{= wk}%?
59 # Show everything in blue on white if the window is active or black on white
60 # if the window is inactive.
63 # Left-aligned window list up to but not including the active window.
65 # %{+b}%{+r}[%n%f%t]%{-r}%{+b}
66 # Show name, flags and title in bold reverse.
69 # All remaining window names.
72 # Truncate here, hack in a space to force the reverse video to flip off then