View Single Post
  #6   (View Single Post)  
Old 21st July 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Here is the excerpt you could not see:
Quote:
tmux copy paste with mouse

April 18, 2012 by awhan



problem at hand: how do i use the mouse to copy/paste text in xterm running tmux?
normally you should not have problems selecting text and pasting it with your mouse. everybody knows about left clicking and then dragging to select and copy the text. in order to paste you need to middle click your mouse. however there are certain options which if set will prevent this functionality.


if you have set the following options
  • mouse-select-pane
  • mouse-select-window
you will notice that you are not able to select text at all.
the solution is to use the shift key.
hold down the shift key and then left click and drag across the target text. you must also hold down the shift key and then middle click in order to paste the text.


this is not mentioned in the tmux man pages so i do not think this is a tmux feature. guess this has something to do with xterm but i m not sure.


xterm version 278-1
tmux version 1.6-2
Reply With Quote