gpakosz / .tmux

🇫🇷 Oh my tmux! My self-contained, pretty & versatile tmux configuration made with ❤️
MIT License
21.9k stars 3.36k forks source link

How to enable paste from system clipboard in mouse mode (Mobaxterm) #746

Open jiang-yuan opened 4 months ago

jiang-yuan commented 4 months ago

I am using MobaXterm and connect to SSH with tmux. After setting tmux_conf_copy_to_os_clipboard=true in .tmux.conf.local, I can copy from tmux to os clipboard. But when I try to paste from clipboard via right button of my mouse (this works in non-mouse mode as I unbind -n MouseDown3Pane), but in mosue mode it does nothing and cannot paste anything.

gpakosz commented 1 month ago

Hello @jiang-yuan 👋

If I understood correctly, you need to bind MouseDown3Pane to something like xsel -b.

gpakosz commented 1 month ago

@jiang-yuan are we good?