From cfc5a43419e8c8c77514f7654bdc41ef19874dab Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 2 Mar 2022 10:06:43 +0100 Subject: [PATCH] Remove limit in tmux copy mode --- tmux/.tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 581958f..aab46b1 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -72,7 +72,7 @@ unbind [ bind Escape copy-mode bind-key -T copy-mode-vi 'v' send -X begin-selection # Begin selection in copy mode. bind-key -T copy-mode-vi 'C-v' send -X rectangle-toggle # Begin selection in copy mode. -bind-key -T copy-mode-vi 'y' send -X copy-selection # Yank selection in copy mode. +bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel "wl-copy" # Yank selection in copy mode. set -g mouse on bind -T root WheelUpPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; copy-mode -e; send-keys -M"