Use C-a as default a prefix key only on local session (!=ssh).
This commit is contained in:
parent
c10e8dc9d3
commit
b03dce65eb
|
@ -97,10 +97,9 @@ set -g status-interval 1
|
|||
|
||||
#### keybindings --------------------------------------------------------------
|
||||
|
||||
## Redéfinition de la combinaison principale par celle de screen (CTRL+a)
|
||||
unbind C-b
|
||||
set -g prefix C-a
|
||||
bind a send-prefix
|
||||
## Prefix key (default: C-b)
|
||||
# Use C-a as a prefix-key only on local session
|
||||
if '[ -z "${SSH_TTY}" ]' 'unbind C-b; set -g prefix C-a; bind a send-prefix'
|
||||
|
||||
## Redéfinition des raccourcis:
|
||||
# Renommer le terminal courant
|
||||
|
|
Loading…
Reference in New Issue