From 12c257cfafe4820f7e8c002b44480b778b661281 Mon Sep 17 00:00:00 2001 From: talksik Date: Tue, 15 Aug 2023 09:57:49 -0700 Subject: [PATCH] adding in rectangle selection mode for copy also found out that can simply highlight with mouse to copy --- .tmux.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/.tmux.conf b/.tmux.conf index af68a49..9837e71 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -73,5 +73,6 @@ bind -T copy-mode-emacs C-WheelDownPane send-keys -X halfpage-down setw -g mode-keys vi # Update default binding of `Enter` to also use copy-pipe unbind -T copy-mode-vi Enter +bind-key -T copy-mode-vi v send-keys -X begin-selection bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xclip -selection c" bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -in -selection clipboard"