.screenrc: bind f8 to focus
[cmccabe-etc] / .screenrc
index fd45e22..6959adc 100644 (file)
--- a/.screenrc
+++ b/.screenrc
@@ -5,6 +5,8 @@ hardstatus alwayslastline
 caption always "%{+u wb}%? %L=%-Lw%45>%{+b by}%n%f*%t%{-}%+Lw%-0<"
 # could also add: %?%F%{-b bc}%:%{-b bb}%?%C|%D|%M %d|%H%?%F
 
+bind b eval writebuf 'exec /bin/sh -c "xsel -i -b < /tmp/screen-exchange"' 'exec /bin/sh -c "killall xsel"'
+
 activity "%C -> %n%f %t activity!"
 bell "%C -> %n%f %t bell!~"
 
@@ -15,3 +17,4 @@ vbell off
 #bindkey -k k6 copy
 bindkey -k k6 prev
 bindkey -k k7 next
+bindkey -k k8 focus