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 + ### }}}