X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=screenrc;h=f7109589e2cd0d27ad61e314027b7c07babfbd20;hb=a6d3ab7e44f067233fad9187e9c664ffb4040620;hp=3f481075f46759af97a48d04ab69507483ad1c4a;hpb=e21f506982168662ae6c5d0bf4d8f65afa2c67d1;p=config%2Fdotfiles.git diff --git a/screenrc b/screenrc index 3f48107..f710958 100644 --- a/screenrc +++ b/screenrc @@ -4,10 +4,8 @@ # Don't display startup message. startup_message off -# Use "?" as escape key, not used so often (by me) and easy to reach. -escape ?? -# As "?" is the escape key, bind to display the help window. -bind ^H help +# Don't use visual bell. +vbell off # Increase the scrollback buffer. defscrollback 10000 @@ -15,6 +13,11 @@ defscrollback 10000 # Bind P to paste the buffer content, like Vim's p. bind P paste . -# Always display the status line and display the name of the window. +# Always display the status line. hardstatus on -hardstatus alwayslastline "%w" +# Display the name of the window and the current hostname. +hardstatus alwayslastline "%w%=%H" + +# 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"