mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-11-24 10:12:17 +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 ##
|
||||
####################################
|
||||
|
||||
# Change default Prefix key to Ctrl+Space
|
||||
unbind C-b
|
||||
set -g prefix C-Space
|
||||
# Change default Prefix key to Ctrl+Space unless this is an SSH session
|
||||
if-shell -b '! [ "$SSH_CLIENT" ]' {
|
||||
unbind C-b; set -g prefix C-Space; display 'Bind key: CTRL+SPACE'
|
||||
}
|
||||
|
||||
# Reload config with Prefix+R
|
||||
unbind r
|
||||
|
|
Loading…
Reference in a new issue