change leader key for tmux
This commit is contained in:
parent
244d4c9526
commit
08cc2ef652
@ -1,7 +1,7 @@
|
|||||||
# CTRL-A -> TMUX KEY
|
# CTRL-A -> TMUX KEY
|
||||||
set-option -g prefix C-a
|
set-option -g prefix `
|
||||||
unbind-key C-b
|
unbind-key C-b
|
||||||
bind-key C-a send-prefix
|
bind-key ` send-prefix
|
||||||
|
|
||||||
# VI-style keybindings
|
# VI-style keybindings
|
||||||
setw -g mode-keys vi
|
setw -g mode-keys vi
|
||||||
@ -13,7 +13,7 @@ bind Escape copy-mode
|
|||||||
#bind-key -t vi-copy 'y' copy-selection
|
#bind-key -t vi-copy 'y' copy-selection
|
||||||
|
|
||||||
# remove SSH_AUTH_SOCK from update-environment, otherwise setting it specifically doesn't work
|
# 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
|
set-environment -g SSH_AUTH_SOCK $HOME/.ssh/ssh_auth_sock
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user