]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
screenrc: Add ^B binding which runs urlview.
authorSimon Ruderich <simon@ruderich.org>
Fri, 20 Mar 2009 19:59:44 +0000 (20:59 +0100)
committerSimon Ruderich <simon@ruderich.org>
Fri, 20 Mar 2009 19:59:44 +0000 (20:59 +0100)
Very useful to follow links.

screenrc

index cd30812e7a03faa6e5204f9db3ce49316dc40f21..094a14bc16f204a9dccb4c41a45ec00df83115cf 100644 (file)
--- a/screenrc
+++ b/screenrc
@@ -17,3 +17,7 @@ bind P paste .
 hardstatus on
 # 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"