[vim/vim] ttymouse is not properly recognized for tmux (#1097)

17 views
Skip to first unread message

Hugo Osvaldo Barrera

unread,
Sep 18, 2016, 4:44:49 AM9/18/16
to vim/vim

When TERM is set to tmux or tmux-256color, the mouse won't work as expected inside vim.

Apparently, this is because vim only sets ttymouse to xterm for certain terminals; from ttymouse's doc:

This option is automatically set to "xterm", when the 'term' option is set to a name that starts with "xterm", "mlterm", "screen", "st" (full match only), "st-" or "stterm", and 'ttymouse' is not set already.

I guess that the simple fix would be to also set is if term start with tmux as well.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub

Christian Brabandt

unread,
Oct 21, 2016, 5:50:22 AM10/21/16
to vim/vim

fixed by 8.0.30

Christian Brabandt

unread,
Oct 21, 2016, 5:50:26 AM10/21/16
to vim/vim

Closed #1097.

Reply all
Reply to author
Forward
0 new messages