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 --------------------------------------------------------------
|
#### keybindings --------------------------------------------------------------
|
||||||
|
|
||||||
## Redéfinition de la combinaison principale par celle de screen (CTRL+a)
|
## Prefix key (default: C-b)
|
||||||
unbind C-b
|
# Use C-a as a prefix-key only on local session
|
||||||
set -g prefix C-a
|
if '[ -z "${SSH_TTY}" ]' 'unbind C-b; set -g prefix C-a; bind a send-prefix'
|
||||||
bind a send-prefix
|
|
||||||
|
|
||||||
## Redéfinition des raccourcis:
|
## Redéfinition des raccourcis:
|
||||||
# Renommer le terminal courant
|
# Renommer le terminal courant
|
||||||
|
|
Loading…
Reference in New Issue