Sample Header Ad - 728x90

How can I limit iTerm2 text selection to a single tmux pane?

5 votes
3 answers
2378 views
I have a late 2013 MacBook Pro running iTerm2. I don't have tmux installed on it, but I use tmux on the remote Linux host I frequently connect to via ssh. When tmux is displaying a **vertical split** and I use the trackpad to select text, the selection is automatically limited to just one pane. That's exactly how I want it. I have recently begun using a 2018 MacBook Pro. Using the same iTerm2 version (3.2.9), and the same remote tmux session, text selection spans the entire window width instead of staying in a single pane. What setting controls that behavior? I'm aware I can hold Command+Option to select a _block_ of text, but that's not what I'm after. I'm looking to select, for example, a sentence that starts mid-paragraph and spans multiple lines. Block selection doesn't allow that.
Asked by Rob Kennedy (195 rep)
Jul 19, 2019, 04:44 PM
Last activity: Mar 24, 2024, 12:28 PM