adding in rectangle selection mode for copy
also found out that can simply highlight with mouse to copy
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user