public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@Shaw.ca>
To: cygwin@cygwin.com
Cc: Jose Isaias Cabrera <jicman@outlook.com>
Subject: Re: mintty mouse behavior with vim
Date: Fri, 12 May 2023 10:38:53 -0600	[thread overview]
Message-ID: <5fc7b7d2-a66a-f707-e2fe-f59ecf33ed25@Shaw.ca> (raw)
In-Reply-To: <AM9P251MB005472B33FDADCDD649F2029DE749@AM9P251MB0054.EURP251.PROD.OUTLOOK.COM>

On 2023-05-11 12:44, 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.

If you're running Cygwin/X (installed xinit) you should install Cygwin gvim(/X) 
for local use and run gvim clients from remote systems on your X server e.g.

	$ ssh -f -Y ubuntu-remote gvim ...

I moved everything under VIM=$HOME/.vim with VIMRUNTIME=/usr/share/vim/vim82 and 
cygpath -w equivalent under Windows in the user environment with 
VIMRUNTIME='C:\Program Files\Vim\vim90', also hardlinks from $HOME to $VIM 
files, as I used Windows gvim under Cygwin before installing Cygwin/X and gvim, 
with EDITOR=vim and VISUAL='gvim -f', and still use Windows gvim on the desktop.

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry


  parent reply	other threads:[~2023-05-12 16:38 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-11 15:24 Jose Isaias Cabrera
2023-05-11 18:23 ` Brian Inglis
2023-05-11 18:44   ` Jose Isaias Cabrera
2023-05-11 21:25     ` Gary Johnson
2023-05-12 16:38     ` Brian Inglis [this message]
2023-05-12 22:22       ` Jose Isaias Cabrera
2023-05-18 14:21         ` Jose Isaias Cabrera
2023-05-18 21:12           ` Brian Inglis
2023-05-18 22:11             ` Jose Isaias Cabrera
2023-05-19  7:53               ` Thomas Wolff
2023-05-12  2:16 ` mintty " Duncan Roe
2023-05-12  2:42   ` René Berber
2023-05-12  3:04     ` Brian Inglis
2023-05-12 14:02     ` [EXTERNAL] " Lavrentiev, Anton (NIH/NLM/NCBI) [C]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5fc7b7d2-a66a-f707-e2fe-f59ecf33ed25@Shaw.ca \
    --to=brian.inglis@shaw.ca \
    --cc=cygwin@cygwin.com \
    --cc=jicman@outlook.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).