How to select entire words with Tmux’s mouse mode

mousetmux

The default tmux mouse mode seems to select words by character — this is a little too granular for me; if I click [or double-click] in the middle of a word, I'd like it to start selecting the entire word.

Are there any ways to accomplish this? Thanks much!

Best Answer

Hold Shift and double-click the text. This sends the mouse input directly to the terminal (xterm, terminal, etc) and bypasses tmux's mouse mode.

Note: I tested this in xterm and gnome-terminal. For other terminals you may need to hold a different modifier key.

Related Question