From e5c411b24b43923d44002413e93950f6b5287123 Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Mon, 24 Jun 2019 18:47:42 +0100 Subject: [PATCH] Added keybindings. Use fixed location for SSH_AUTH_SOCK. --- .screenrc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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