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:
Jeremy Gardais 2022-11-14 11:18:12 +01:00
parent ee0ee27359
commit 582d13be33
Signed by: jegardai
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) # Aller au terminal précédent (CTRL+a)
unbind C-a unbind C-a
bind-key C-a last-window bind-key C-a last-window
unbind C-b
bind-key C-b last-window
# Aller au terminal suivant (CTRL+n) # Aller au terminal suivant (CTRL+n)
unbind C-n unbind C-n
@ -110,8 +112,6 @@ bind-key P run "tmux paste-buffer"
# Window selection by name # Window selection by name
unbind b unbind b
bind-key b command-prompt "find-window -NT '%%'" bind-key b command-prompt "find-window -NT '%%'"
unbind C-b
bind-key C-b command-prompt "find-window -CNT '%%'"
# Détacher tmux # Détacher tmux
unbind C-d unbind C-d