Update selection to copy without clearing

This commit is contained in:
Daniel McKnight 2024-06-28 22:59:52 -07:00
parent 8b0f43437a
commit d077265258

View file

@ -22,9 +22,11 @@ set -g mouse on
# Mouse Copy # Mouse Copy
#set -g @plugin 'tmux-plugins/tmux-yank' #set -g @plugin 'tmux-plugins/tmux-yank'
#set -g @yank_action 'copy-pipe-no-clear' #set -g @yank_action 'copy-pipe-no-clear'
bind -T copy-mode C-C send -X copy-pipe-no-clear "xsel -i --clipboard"\; display "Copied" #set -g @yank_selection_mouse 'copy-pipe-no-clear'
bind -T copy-mode-vi C-C send -X copy-pipe-no-clear "xsel -i --clipboard"\; display "Copied" #bind -T copy-mode C-C send -X copy-pipe-no-clear "xsel -i --clipboard"\; display "Copied"
#bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip" #bind -T copy-mode-vi C-C send -X copy-pipe-no-clear "xsel -i --clipboard"\; display "Copied"
bind-key -T copy-mode MouseDragEnd1Pane send-keys -X copy-pipe-no-clear "xclip"\; display "Copied"
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-no-clear "xclip"\; display "Copied"
#set -g @yank_with_mouse off #set -g @yank_with_mouse off
#set -g @yank_line 'C-C' #set -g @yank_line 'C-C'