X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=screenrc.in;h=ac210a5892e182d27e7be87da122e8a38d9b8562;hb=75e0616f82cd0b9e057692c065ada56de2b4f321;hp=b04605aa1c3cdb3746b59968eca23e550d3bd7c0;hpb=2b90bb3fe42337555d9d02188e6314be502e0b37;p=config%2Fdotfiles.git diff --git a/screenrc.in b/screenrc.in index b04605a..ac210a5 100644 --- a/screenrc.in +++ b/screenrc.in @@ -1,4 +1,4 @@ -# Screen configuration file. +# GNU 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 @@ -6,7 +6,7 @@ # # (BATTERY) is only used on laptops, (ROOT) only if running as root. -# Copyright (C) 2011-2012 Simon Ruderich +# Copyright (C) 2011-2013 Simon Ruderich # # This file is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -33,7 +33,7 @@ startup_message off vbell on # Increase the scrollback buffer. -defscrollback 10000 +defscrollback 50000 # Ignore case when searching. ignorecase on @@ -42,6 +42,11 @@ ignorecase on # available. shell zsh +# Don't "login" windows (= add them to the utmp database) by default. Not +# useful for me and the "$" flag clutters the window flags (displayed with +# %Lw). +deflogin off + # TERMINAL @@ -82,7 +87,7 @@ setenv s "$s%t" # - window name caption always "$s" unsetenv s # Always display the status line with open windows and the hostname. -setenv s "$s%w" # - number and names of windows +setenv s "$s%Lw" # - number and names of windows, L displays window flags setenv s "$s%=" # - right align the following text setenv s "$s%l" # - load average setenv s "$s " # - space @@ -124,7 +129,8 @@ bind -c window 6 select 16 bind -c window 7 select 17 bind -c window 8 select 18 bind -c window 9 select 19 -# And to windows 20-29. +# And bindings for windows 20 to 29 with e.g. ;;1. Thanks to Kays in #irssi on +# Freenode (2012-10-18 16:25 CEST) for the suggestion to use ;;. bind -c window ; command -c window2 bind -c window2 0 select 20 bind -c window2 1 select 21