From 0e6f35e9f584cf0b632a47e2ae55cdca5728aae3 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Tue, 19 May 2015 22:07:47 +0200 Subject: [PATCH] New bind-key vi-like buffer: C-b start typing window name to select it. --- tmux.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tmux.conf b/tmux.conf index c8830f8..5f9d54b 100644 --- a/tmux.conf +++ b/tmux.conf @@ -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