Use C-a as default a prefix key only on local session (!=ssh).

This commit is contained in:
Jeremy Gardais 2015-09-21 21:16:12 +02:00
parent c10e8dc9d3
commit b03dce65eb
1 changed files with 3 additions and 4 deletions

View File

@ -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