Emacs, scripting and anything text oriented.

tmux Shift + Mouse

Kaushal Modi

Using mouse to copy/paste in tmux panes.

I had been missing the “select and middle-click” method for copying and pasting stuff in tmux panes.

Thanks to this post, I learned that I can use the Shift key and bypass tmux’s own copy and paste method.

Key/Mouse BindingAction
Shift + Mouse left button double-clickCopies the double-clicked word
Shift + Select using mouseCopies the selection
Shift + Mouse middle button clickPastes the copied text using above method in the tmux pane

Versions used: tcsh 6.17.00 , tmux 2.6+ , xterm X.Org 6.8.99.903(327)

If you have written a response to this, enter your response post's URL below.

Or, you can send a "comment" webmention (it's OK if you don't know what that means). When asked about your website on an IndieAuth login screen, simply type https://commentpara.de.

Markdown Support**bold**, _italics_, ~~strikethrough~~, [descr](link), `monospace`, ```LANG\nline1\nline2\n``` (Yep, multi-line code blocks too, with syntax highlighting!), auto-hyperlinking.

Webmentions #