]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - screenrc.in
zsh/env: Color man pages viewed in less.
[config/dotfiles.git] / screenrc.in
index d887b8e603c0e647b8c1604e7779ad997bade024..142e97fe2e688ea79f00b8c06aa4f6eb28c571be 100644 (file)
@@ -1,4 +1,8 @@
 # Screen configuration file.
+#
+# Features which are only available in (very) recent screen releases or in
+# current Git are marked with "(GIT)" so they can be removed by the setup
+# script on machines with older versions.
 
 
 # Don't display startup message.
@@ -10,6 +14,12 @@ vbell on
 # Increase the scrollback buffer.
 defscrollback 10000
 
+# Ignore case when searching.
+ignorecase on
+
+# I prefer zsh as my shell.
+shell zsh
+
 
 # TERMINAL
 
@@ -37,6 +47,9 @@ unsetenv s
 setenv s "$s%{= Bw}" # - white on light blue background, also reset all
                      #   attributes (necessary so everything is displayed
                      #   correctly)
+setenv s "$s%?%P"    # - is copy mode enabled? (GIT)
+setenv s "$s%{= wB}" #   - if so change colors to light blue on white (GIT)
+setenv s "$s%?"      # - end if (GIT)
 setenv s "$s%3n"     # - window number
 setenv s "$s "       # - space
 setenv s "$s%t"      # - window name
@@ -58,7 +71,9 @@ unsetenv s
 # probably don't want to copy this.
 bind K  # kill
 bind k  # kill
+bind ^K # kill
 bind \\ # quit
+bind ^\ # quit
 bind ^Z # suspend
 bind z  # suspend
 bind ^S # xoff