mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-11-24 18:12:18 +00:00
don't change tmux prefix keycombo on SSH sessions
This commit is contained in:
parent
b88e2c1ba9
commit
98b0d29a5e
1 changed files with 4 additions and 3 deletions
|
@ -2,9 +2,10 @@
|
||||||
## BINDINGS ##
|
## BINDINGS ##
|
||||||
####################################
|
####################################
|
||||||
|
|
||||||
# Change default Prefix key to Ctrl+Space
|
# Change default Prefix key to Ctrl+Space unless this is an SSH session
|
||||||
unbind C-b
|
if-shell -b '! [ "$SSH_CLIENT" ]' {
|
||||||
set -g prefix C-Space
|
unbind C-b; set -g prefix C-Space; display 'Bind key: CTRL+SPACE'
|
||||||
|
}
|
||||||
|
|
||||||
# Reload config with Prefix+R
|
# Reload config with Prefix+R
|
||||||
unbind r
|
unbind r
|
||||||
|
|
Loading…
Reference in a new issue