Added keybindings. Use fixed location for SSH_AUTH_SOCK.
This commit is contained in:
parent
b3af72ad70
commit
e5c411b24b
1 changed files with 15 additions and 0 deletions
15
.screenrc
15
.screenrc
|
|
@ -10,6 +10,10 @@
|
||||||
# The '-' prefix makes the shell a login/interactive shell.
|
# The '-' prefix makes the shell a login/interactive shell.
|
||||||
shell -/bin/bash
|
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.
|
# Change how screen operates.
|
||||||
deflogin on
|
deflogin on
|
||||||
defscrollback 100000
|
defscrollback 100000
|
||||||
|
|
@ -35,6 +39,17 @@ bind k
|
||||||
bind K kill
|
bind K kill
|
||||||
bind ^\
|
bind ^\
|
||||||
bind \\ quit
|
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.
|
# Start window numbering from 1, not 0.
|
||||||
screen 1
|
screen 1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue