New bind-key vi-like buffer: C-b start typing window name to select it.

This commit is contained in:
gardouille 2015-05-19 22:07:47 +02:00
parent 10e2bbd1c5
commit 0e6f35e9f5
1 changed files with 6 additions and 0 deletions

View File

@ -129,6 +129,12 @@ bind ^V run "tmux set-buffer -- \"$(xclip -o -selection clipboard)\"; tmux paste
bind-key -t vi-copy 'v' begin-selection
bind-key -t vi-copy 'y' copy-selection
# Window selection by name
unbind b
bind-key b command-prompt "find-window '%%'"
unbind C-b
bind-key C-b command-prompt "find-window '%%'"
# Détacher tmux
unbind ^D
bind ^D detach