mskyaxl / wsl-terminal

Terminal emulator for Windows Subsystem for Linux (WSL)
MIT License
3.12k stars 158 forks source link

tmux mouse copy/paste? #144

Open bewing opened 5 years ago

bewing commented 5 years ago

Is there any information or guides on clipboard integration for the terminal when using tmux?

feryardiant commented 5 years ago

Hold SHIFT & Select the text using mouse, then use CTRL + INSERT for copy and SHIFT + INSERT for paste,

image

Also you might be needed to add setw -g -q mouse on on your ~/.tmux.conf

bewing commented 5 years ago

Hold SHIFT & Select the text using mouse, then use CTRL + INSERT for copy and SHIFT + INSERT for paste,

This approach is great for single-line copies, but when using a terminal muxer like tmux, it requires zooming the active pane to full-screen in order to copy multiple lines.

mskyaxl commented 4 years ago

the tmux/vim clipboard only works with xterm and a properly configured x server running in your host. I will try to included in the next releases as part of the wsl-terninal or at least document the process