From d8542c9c753691303b7c3b62cfd2d498d64f59bf Mon Sep 17 00:00:00 2001 From: Gardouille Date: Fri, 4 Aug 2017 14:10:33 +0200 Subject: [PATCH] Move copy-mode-vi bindkeys to local configuration. --- tmux.conf | 2 -- tmux.conf.local | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tmux.conf b/tmux.conf index af3e28a..6145c05 100644 --- a/tmux.conf +++ b/tmux.conf @@ -94,8 +94,6 @@ bind-key C-v run "tmux set-buffer -- \"$(xclip -o -selection clipboard)\"; tmux unbind PPage bind PPage copy-mode bind-key ESCAPE copy-mode -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 diff --git a/tmux.conf.local b/tmux.conf.local index a5ac987..6106999 100644 --- a/tmux.conf.local +++ b/tmux.conf.local @@ -67,4 +67,8 @@ unbind C-b set -g prefix C-a bind a send-prefix +# Copy-mode +bind-key -T copy-mode-vi 'v' send -X begin-selection +bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel + ### }}}