diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index 9775bf4..a3194b7 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -53,7 +53,9 @@ unbind /; bind / if -F '#{pane_in_mode}' { send-keys -X cancel } { copy-mode ; c unbind ?; bind ? if -F '#{pane_in_mode}' { send-keys -X cancel } { copy-mode ; command-prompt -p '?' { send -X search-backward -- '%%' } } bind -T copy-mode-vi v send-keys -X begin-selection -bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'test -n "$WAYLAND_DISPLAY" && wl-copy || xclip -in -sel c' +bind -T copy-mode-vi y send-keys -X copy-pipe 'test -n "$WAYLAND_DISPLAY" && wl-copy || xclip -in -sel c' +bind -T copy-mode-vi DoubleClick1Pane select-pane \; send-keys -X select-word \; run-shell -d 0.3 \; send-keys -X copy-pipe 'test -n "$WAYLAND_DISPLAY" && wl-copy || xclip -in -sel c' +bind -T copy-mode-vi TripleClick1Pane select-pane \; send-keys -X select-line \; run-shell -d 0.3 \; send-keys -X copy-pipe 'test -n "$WAYLAND_DISPLAY" && wl-copy || xclip -in -sel c' unbind b; bind b set status\; refresh -S unbind m; bind m set -g mouse\; run-shell 'mux bar'\; refresh -S