On Thu, Jun 15, 2017 at 9:04 AM, Christian Brabandt <[email protected]> wrote: > > On Mi, 14 Jun 2017, George Karpenkov wrote: > >> Hi All, >> >> I have a rather strange bug running console vim on mac. >> I have a large imac (5120*2880 pixels), and in my terminal (I've tried both >> iterm2 and built-in terminal), mouse clicks and scrolls are not recognized >> in the rightmost section of the screen (say, after ~4k pixels from the left >> or so). >> It's almost like there is a hardcoded value of a maximal terminal size. >> E.g. selecting or scrolling the rightmost pane with 4+ vertical splits >> becomes impossible using mouse, which is especially painful for the tagbar >> extension. >> >> I am using tmux, but the issue persists in plain terminal. I have >> ttymouse=xterm2 set in my .vimrc. >> >> The issue does NOT appear in neovim or in macvim (but I assume both have >> sufficiently different terminal handling). > > This is mentioned at :h 'ttymouse'. Try setting it to sgr >
Yes, and with a modern xterm (or compatible) and a modern Vim (compiled with +termresponse), you could leave 'ttymouse' at its default, then Vim will set it to "xterm" "xterm2" or "sgr" depending on the version reported by the terminal. See the help below the possible values for the 'ttymouse' option. Best regards, Tony. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
