diff options
-rw-r--r-- | .config/tmux/config | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.config/tmux/config b/.config/tmux/config index 0c13432..a9113af 100644 --- a/.config/tmux/config +++ b/.config/tmux/config @@ -53,9 +53,11 @@ bind-key [ copy-mode bind-key ] paste-buffer bind-key -T copy-mode-vi v send-keys -X begin-selection -bind-key -T copy-mode-vi y send-keys -X copy-selection +bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard' bind-key -T copy-mode-vi r send-keys -X rectangle-toggle +bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -i -f -selection primary | xclip -i -selection clipboard" + # URL view bind-key u capture-pane \;\ save-buffer /tmp/tmux-buffer \;\ |