]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - screenrc.in
screenrc: Ignore case when searching.
[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 # Ignore case when searching.
14 ignorecase on
15
16
17 # TERMINAL
18
19 # Enable 256 color mode.
20 term screen-256color
21 # Allow bold colors in XTerm (not necessary for Rxvt), not sure why this is
22 # necessary. Otherwise normal and bold colors are switched. Thanks to
23 # http://www.frexx.de/xterm-256-notes/.
24 attrcolor b ".I"
25
26
27 # CAPTION AND HARDSTATUS
28
29 # Use white on light blue background for highlighting and text messages (and
30 # for window borders in split mode).
31 sorendition = Bw
32
33 # Make sure the temporary variable we use is empty. Thanks to
34 # http://gist.github.com/133000 for the idea to use setenv and to TauPan in
35 # #screen on Freenode (2010-03-10 16:11) for reminding me of it and searching
36 # it again.
37 unsetenv s
38
39 # Always display the caption.
40 setenv s "$s%{= Bw}" # - white on light blue background, also reset all
41                      #   attributes (necessary so everything is displayed
42                      #   correctly)
43 setenv s "$s%3n"     # - window number
44 setenv s "$s "       # - space
45 setenv s "$s%t"      # - window name
46 caption always "$s"
47 unsetenv s
48 # Always display the status line with open windows and the hostname.
49 setenv s "$s%w" # - number and names of windows
50 setenv s "$s%=" # - right align the following text
51 setenv s "$s%l" # - load average
52 setenv s "$s "  # - space
53 setenv s "$s%H" # - hostname
54 hardstatus alwayslastline "$s"
55 unsetenv s
56
57
58 # BINDINGS
59
60 # Remove some bindings I don't use to prevent using them accidentally. You
61 # probably don't want to copy this.
62 bind K  # kill
63 bind k  # kill
64 bind \\ # quit
65 bind ^Z # suspend
66 bind z  # suspend
67 bind ^S # xoff
68 bind s  # xoff
69 bind ^Q # xon
70 bind q  # xon
71 bind ^G # visual bell
72 bind D  # power detach
73
74 # Run urlview on current screen content. Very useful to follow links. Make
75 # sure hardcopy_append is off before using this command.
76 bind ^B eval "hardcopy $HOME/.screen-urlview" "screen urlview $HOME/.screen-urlview"