Vim: Drag on the window split bar is do not work when vim run in tmux

Created on 15 Jun 2020  路  3Comments  路  Source: vim/vim

Describe the bug
Like title, drag on the window split bar is do not work when vim run in tmux.
note:

  1. the same system enveriament and same reproduce step flow on tmux with neovim has no this issue.
  2. the same system enveriament and same reproduce step flow on bash with vim has no this issue.

To Reproduce

  1. Run vim --clean
  2. Run set mouse=a
  3. Run split
  4. try use mouse drag on the window split bar

Expected behavior
the window do not resize when drag mouse

Environment (please complete the following information):

  • Vim version [ 8.2.0981]
  • OS: [Ubuntu 18.04 LTS]
  • Terminal: [tmux 3.1]

Additional context
tmux 3.1 use with default config.

question

Most helpful comment

Try setting :set ttymouse=sgr.

All 3 comments

I can't reproduce:

gif

Dragging the status line of the top Vim window with the mouse correctly resizes its height.

Try to reproduce on tmux master, and without any tmux config:

$ tmux -Lx -f/dev/null

Try setting :set ttymouse=sgr.

Try setting :set ttymouse=sgr.

this settings let mouse drag work fine in tmux, thanks k-takata !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Yggdroot picture Yggdroot  路  3Comments

j0ker70 picture j0ker70  路  3Comments

lacygoill picture lacygoill  路  4Comments

antoinemadec picture antoinemadec  路  3Comments

SRGOM picture SRGOM  路  4Comments