O'Reilly logo
  • Mihkel Selgal thinks this is interesting:

 bind -t vi-copy ​'v'​ begin-selection​ bind -t vi-copy ​'y'​ copy-selection

From

Cover of tmux 2

Note

In version 2.4 and above use:

bind-key -Tcopy-mode-vi 'v' send -X begin-selection
bind-key -Tcopy-mode-vi 'y' send -X copy-selection