From b70c0cdbe4ac4d71ad7759a8afcae933256b1e1f Mon Sep 17 00:00:00 2001 From: Gardouille Date: Tue, 27 Jun 2017 22:39:36 +0200 Subject: [PATCH] Correct vi-mode syntax See https://sanctum.geek.nz/arabesque/vi-mode-in-tmux/ --- tmux.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tmux.conf b/tmux.conf index b2d8d98..e7056ee 100644 --- a/tmux.conf +++ b/tmux.conf @@ -93,8 +93,8 @@ bind-key C-v run "tmux set-buffer -- \"$(xclip -o -selection clipboard)\"; tmux # Copy-mode unbind PPage bind PPage copy-mode -bind-key -t vi-copy 'v' begin-selection -bind-key -t vi-copy 'y' copy-selection +bind-key -T copy-mode-vi 'v' send -X begin-selection +bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel # Paste buffer unbind P