On 2023-05-11, Jose Isaias Cabrera via Cygwin wrote:
> 
> On May 11, 2023 2:24 PM, Brian Inglis  expressed:
> 
> > If I select columns or lines in vim, then the statusline at the
> > bottom of the window shows the number of columns or lines
> > selected before the cursor line and column numbers and
> > percentage thru the file, or the modeline if multiple windows
> > are visible e.g.
> > 
> > -- SELECT --                                4       7,2             All
> > or
> > -- SELECT --                                                4
> 
> That's the problem. It's not doing it for me on vim on the cygwin
> xterm, nor on a connection to an ubuntu server through cygwin
> mintty. I have gvim for windows, and that works perfectly. But,
> when I use the cygwin terminal, and an ssh'ed connection to
> ubuntu, the mouse does not work. I will try to see what are my
> .vimrc settings for Windows, cygwin and ubuntu and try to match
> it. I may need to join the vim email support. Thanks.

It may be that the 'mouse' option is not set on your Ubuntu vim when
using ssh.  Try

    :set mouse=a

and see if that works.  If not, then check that the version of vim
on Ubuntu supports the mouse.  Execute

    :version

and check that it is not the tiny or small version and that +mouse
and not -mouse appears in the list of features.  I know that
Ubuntu's standard vim does not support X, but other than that,
I don't know what Ubuntu vim package supports what.  I always
install vim-gtk so I have everything.

Regards,
Gary


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to