Remote host: Bind C-b to last-window

C-b C-b on remote reproduce C-a C-a on local host !
This commit is contained in:
gardouille 2022-11-14 11:18:12 +01:00
parent ee0ee27359
commit 582d13be33
Signed by: gardouille
GPG Key ID: E759BAA22501AF32
1 changed files with 2 additions and 2 deletions

View File

@ -80,6 +80,8 @@ bind A command-prompt "rename-window %%"
# Aller au terminal précédent (CTRL+a)
unbind C-a
bind-key C-a last-window
unbind C-b
bind-key C-b last-window
# Aller au terminal suivant (CTRL+n)
unbind C-n
@ -110,8 +112,6 @@ bind-key P run "tmux paste-buffer"
# Window selection by name
unbind b
bind-key b command-prompt "find-window -NT '%%'"
unbind C-b
bind-key C-b command-prompt "find-window -CNT '%%'"
# Détacher tmux
unbind C-d