0
votes

I use tmux copy-mode with vi style.

According to man tmux, V selects line in copy-mode(it sends select-line command).

I can select line with V and copy-and-clear with y by below config.

~/.tmux.conf

setw -g mode-keys vi
bind -T copy-mode-vi y send-keys -X copy-pipe "xclip -selection c" \; send-keys -X clear-selection

However, tmux automatically re-selects line when I move cursor(hjkl) after y.

How to configure to avoid this re-selection? I want to completely clear line selection.

$ tmux -V
tmux 2.8