X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=screenrc.in;h=5235e5f0484efbe97debef2fff65bad78bd97b10;hb=2d26211d5fb823d045b0839325336d8dc7a946bf;hp=ee56e64ab0229619e2b0df15bc0d41a2b6e4eaa0;hpb=e0fa211ea1b1b085cbafaea8a93fd772374efaba;p=config%2Fdotfiles.git diff --git a/screenrc.in b/screenrc.in index ee56e64..5235e5f 100644 --- a/screenrc.in +++ b/screenrc.in @@ -10,6 +10,9 @@ vbell on # Increase the scrollback buffer. defscrollback 10000 + +# TERMINAL + # Enable 256 color mode. term screen-256color # Allow bold colors in XTerm (not necessary for Rxvt), not sure why this is @@ -17,9 +20,17 @@ term screen-256color # 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. @@ -29,6 +40,19 @@ hardstatus alwayslastline "%w%=%l %H" # %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 ^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. bind ^B eval "hardcopy $HOME/.screen-urlview" "screen urlview $HOME/.screen-urlview"