diff --git a/.screenrc b/.screenrc index efa7b70..23466c3 100644 --- a/.screenrc +++ b/.screenrc @@ -10,6 +10,10 @@ # The '-' prefix makes the shell a login/interactive shell. shell -/bin/bash +# SSH agent forwarding and screen handling. +# See: https://gist.github.com/martijnvermaat/8070533 +setenv SSH_AUTH_SOCK $HOME/.ssh/auth_sock + # Change how screen operates. deflogin on defscrollback 100000 @@ -35,6 +39,17 @@ bind k bind K kill bind ^\ bind \\ quit +bind s +bind q select 11 +bind w select 12 +bind e select 13 +bind r select 14 +bind t select 15 +bind y select 16 +bind u select 17 +bind i select 18 +bind o select 19 +# bind p select 20 # Start window numbering from 1, not 0. screen 1