Skip to content

Disable mouse select by drag but keep mouse scroll - is it possible? #2283

@adams-family

Description

@adams-family

Issue description

I'm running tmux via ssh on a linux (remote) machine from an iTerm2 on macOS.

I've configured .tmux.conf in order to get mouse wheel scrolling inside of tmux via the following:

set -g mouse on

I like the mouse wheel scolling but I don't like the automatic clipboard copy on mouse drag because it doesn't work. I am very satistfied with the built in copy to clipboard functionality of my iTerm2 and I would like to disable tmux's mouse drag handler.

Is it possible while keeping the mouse wheel scrolling?

Required information

Please provide the following information:

  • tmux version: tmux 2.8
  • Platform: Linux unknown
  • $TERM outside of tmux: xterm-256color
  • $TERM inside of tmux: screen-256color
  • Logs from tmux - tmux kill-server; tmux -vv new — just opens a new tmux window, which logs should I pull?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions