]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - screenrc.in
zsh: Make sure elements in PATH are unique.
[config/dotfiles.git] / screenrc.in
index 36f642f788d81a835a69a744953c8fdbc42777aa..7b74b11f25a00c283fb50440301db61dd87f9e65 100644 (file)
@@ -4,20 +4,58 @@
 # Don't display startup message.
 startup_message off
 
-# Don't use visual bell.
-vbell off
+# Use visual bell instead of audible bell.
+vbell on
 
 # Increase the scrollback buffer.
 defscrollback 10000
 
+
+# TERMINAL
+
 # Enable 256 color mode.
 term screen-256color
-# Allow bold colors, not sure why this is necessary. Otherwise normal and bold
-# colors are switched. Thanks to http://www.frexx.de/xterm-256-notes/.
+# Allow bold colors in XTerm (not necessary for Rxvt), not sure why this is
+# necessary. Otherwise normal and bold colors are switched. Thanks to
+# http://www.frexx.de/xterm-256-notes/.
 attrcolor b ".I"
 
+
+# CAPTION AND HARDSTATUS
+
+# Use white on light blue background for highlighting and text messages (and
+# for window borders in split mode).
+sorendition = Bw
+
+# Always display the caption.
+caption always "%{= Bw}%3n %t"
+# %{= Bw} - white on light blue background, also reset all attributes
+#           (necessary so everything is displayed correctly)
+# %3n     - window number
+# %t      - window name
 # Always display the status line with open windows and the hostname.
-hardstatus alwayslastline "%w%=%H"
+hardstatus alwayslastline "%w%=%l %H"
+# %w - number and names of windows
+# %= - right align the following text
+# %l - load average
+# %H - hostname
+
+
+# BINDINGS
+
+# Remove some bindings I don't use to prevent using them accidentally. You
+# probably don't want to copy this.
+bind K  # kill
+bind k  # kill
+bind \\ # quit
+bind ^Z # suspend
+bind z  # suspend
+bind ^S # xoff
+bind s  # xoff
+bind ^Q # xon
+bind q  # xon
+bind ^G # visual bell
+bind D  # power detach
 
 # Run urlview on current screen content. Very useful to follow links. Make
 # sure hardcopy_append is off before using this command.