change leader key for tmux

This commit is contained in:
Jason Swank 2024-06-01 23:48:07 +00:00
parent 244d4c9526
commit 08cc2ef652
No known key found for this signature in database

View File

@ -1,7 +1,7 @@
# CTRL-A -> TMUX KEY
set-option -g prefix C-a
set-option -g prefix `
unbind-key C-b
bind-key C-a send-prefix
bind-key ` send-prefix
# VI-style keybindings
setw -g mode-keys vi
@ -13,7 +13,7 @@ bind Escape copy-mode
#bind-key -t vi-copy 'y' copy-selection
# remove SSH_AUTH_SOCK from update-environment, otherwise setting it specifically doesn't work
set-option -g update-environment "DISPLAY LANG LC_ALL SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
set-option -g update-environment "PATH DISPLAY LANG LC_ALL SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
set-environment -g SSH_AUTH_SOCK $HOME/.ssh/ssh_auth_sock