7 ms·
I think he's asking what happens if you have two panes side-by-side and try to select text in one to copy. Does it also select text from the other one?
by alec 12y ago
I think he's asking what happens if you have two panes side-by-side and try to select text in one to copy. Does it also select text from the other one?
- mitchty 12y agoIf you use a mouse yeah, but as noted by others, with tmux 1.8+ just prefix-z and you can temporarily zoom that one pane. So there really isn't much reason to complain about this particularly.
- pekk 12y agoThis is much more awkward than just selecting it with the mouse. That's a reason to complain.
- stormbrew 12y agoWell, this is not really the dilemma though. If you don't have vertical splits you don't have this problem, but you also don't have vertical splits. If you have vertical splits you'll solve this problem somehow.
- madeofpalk 12y agoidk what everyone else here is talking about, but I can copy with vertical panes with my mouse just fine http://i.imgur.com/lWxygYn.png http://i.imgur.com/lWxygYn.png
- thristian 12y agoThey're talking about using the host terminal's text-selection mode and the system clipboard, rather than tmux's built-in text-selection mode, which does. I too generally use tmux's built-in text-selection and clipboard when I'm copying from pane to pane, because it's more convenient.
- mitchty 12y agoThe thing is you can synchronize tmux selection with your clipboard, there isn't really a need for tmux to "support" your terminal's view of tmux running within.
- zhengyi13 12y agoNot necessarily. At least in Gnome-terminal, Ctrl-Alt-(mouse drag) is a block select that works just fine for copy-paste out of a vertical split. Or do the rotation thing. Or do the copy-mode thing. More than one way to skin this cat; just depends on which workflow you wish to adopt.
- blueblob 12y agoThe answer is, it depends. If you copy it with the mouse, you will be copying both sides. If you copy it with your tmux keyboard copy bindings, it will copy just the one side. I don't know the default bindings because I made mine prefix-esc to get to copy mode, vi keys, v to select, y to yank.
- artursapek 12y agoLike others have said, you don't use the mouse to drag & drop and copy. You use your keyboard, the way you would do it in your editor.