adding in rectangle selection mode for copy

also found out that can simply highlight with mouse to copy
This commit is contained in:
talksik
2023-08-15 09:57:49 -07:00
parent c79ff316ad
commit 12c257cfaf
+1
View File
@@ -73,5 +73,6 @@ bind -T copy-mode-emacs C-WheelDownPane send-keys -X halfpage-down
setw -g mode-keys vi setw -g mode-keys vi
# Update default binding of `Enter` to also use copy-pipe # Update default binding of `Enter` to also use copy-pipe
unbind -T copy-mode-vi Enter 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 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" bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -in -selection clipboard"