X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=screenrc.in;h=142e97fe2e688ea79f00b8c06aa4f6eb28c571be;hb=fc2cb4aabc4c922fd23f26eec94b582cb7197f14;hp=d887b8e603c0e647b8c1604e7779ad997bade024;hpb=daf0157fc0719314668afef53b2233854a889dd9;p=config%2Fdotfiles.git diff --git a/screenrc.in b/screenrc.in index d887b8e..142e97f 100644 --- a/screenrc.in +++ b/screenrc.in @@ -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