]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - screenrc
zsh: Fix attachment to running screen sessions.
[config/dotfiles.git] / screenrc
index f6e5d971ad6ed8aca28ecafa200364aec277401a..094a14bc16f204a9dccb4c41a45ec00df83115cf 100644 (file)
--- a/screenrc
+++ b/screenrc
@@ -4,17 +4,20 @@
 # 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 <C-h> to display the help window.
-bind ^H help
+# Don't use visual bell.
+vbell off
 
-# Increase the scrollback buffer to 5000 lines.
-defscrollback 5000
+# Increase the scrollback buffer.
+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.
+bind ^B eval "hardcopy $HOME/.screen-urlview" "screen urlview $HOME/.screen-urlview"