]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - screenrc.in
screenrc: Remove xon/xoff bindings.
[config/dotfiles.git] / screenrc.in
1 # Screen configuration file.
2
3
4 # Don't display startup message.
5 startup_message off
6
7 # Use visual bell instead of audible bell.
8 vbell on
9
10 # Increase the scrollback buffer.
11 defscrollback 10000
12
13
14 # TERMINAL
15
16 # Enable 256 color mode.
17 term screen-256color
18 # Allow bold colors in XTerm (not necessary for Rxvt), not sure why this is
19 # necessary. Otherwise normal and bold colors are switched. Thanks to
20 # http://www.frexx.de/xterm-256-notes/.
21 attrcolor b ".I"
22
23
24 # CAPTION AND HARDSTATUS
25
26 # Use white on light blue background for highlighting and text messages (and
27 # for window borders in split mode).
28 sorendition = Bw
29
30 # Always display the caption.
31 caption always "%{= Bw}%3n %t"
32 # %{= Bw} - white on light blue background, also reset all attributes
33 #           (necessary so everything is displayed correctly)
34 # %3n     - window number
35 # %t      - window name
36 # Always display the status line with open windows and the hostname.
37 hardstatus alwayslastline "%w%=%l %H"
38 # %w - number and names of windows
39 # %= - right align the following text
40 # %l - load average
41 # %H - hostname
42
43
44 # BINDINGS
45
46 # Remove some bindings I don't use to prevent using them accidentally. You
47 # probably don't want to copy this.
48 bind K  # kill
49 bind k  # kill
50 bind \\ # quit
51 bind ^Z # suspend
52 bind z  # suspend
53 bind ^S # xoff
54 bind s  # xoff
55 bind ^Q # xon
56 bind q  # xon
57 bind ^G # visual bell
58 bind D  # power detach
59
60 # Run urlview on current screen content. Very useful to follow links. Make
61 # sure hardcopy_append is off before using this command.
62 bind ^B eval "hardcopy $HOME/.screen-urlview" "screen urlview $HOME/.screen-urlview"