Re: mouse behavior with vim

2023-05-19 Thread Thomas Wolff via Cygwin
[just removing mintty from the mail topic as it's quite obviously not related to it] Am 19.05.2023 um 00:11 schrieb Jose Isaias Cabrera via Cygwin: On May 18, 2023 5:12 PM, Brian Inglis expressed: That will depend on the client installed on the remote host! Get them to upgrade to gvim 9 as on

RE: mintty mouse behavior with vim

2023-05-18 Thread Jose Isaias Cabrera via Cygwin
On May 18, 2023 5:12 PM, Brian Inglis expressed: > > That will depend on the client installed on the remote host! > Get them to upgrade to gvim 9 as on Windows ;^> I don't think that will do anything. :-) This is the ubuntu version: jic@web:~/w/default.website$ gvim --version VIM - Vi IMprove

Re: mintty mouse behavior with vim

2023-05-18 Thread Brian Inglis via Cygwin
On 2023-05-18 08:21, Jose Isaias Cabrera via Cygwin wrote: On May 12, 2023 6:23 PM, Jose Isaias Cabrera expressed: On May 12, 2023 12:39 PM, Brian Inglis expressed: If you're running Cygwin/X (installed xinit) you should install Cygwin gvim(/X) for local use and run gvim clients from remote s

RE: mintty mouse behavior with vim

2023-05-18 Thread Jose Isaias Cabrera via Cygwin
Greetings! On May 12, 2023 6:23 PM, Jose Isaias Cabrera expressed: > > > On May 12, 2023 12:39 PM, Brian Inglis expressed: > > > > 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

RE: mintty mouse behavior with vim

2023-05-12 Thread Jose Isaias Cabrera via Cygwin
On May 12, 2023 12:39 PM, Brian Inglis expressed: > > 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 ... > WOW!! THANKS!! I didn't know that

Re: mintty mouse behavior with vim

2023-05-12 Thread Brian Inglis via Cygwin
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 percent

RE: [EXTERNAL] Re: mintty mouse behavior with vim

2023-05-12 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> > You expect too much of ssh. ssh is a text utility, not an X one. The remote > > vim > > never sees your mouse actions: it's mintty that performs select / paste. > > Are you sure? > > man ssh: > > " -X Enables X11 forwarding. This can also be specified on a > per-host basis in a co

Re: mintty mouse behavior with vim

2023-05-11 Thread Brian Inglis via Cygwin
On 2023-05-11 20:42, René Berber via Cygwin wrote: On 5/11/2023 8:16 PM, Duncan Roe via Cygwin wrote: You expect too much of ssh. ssh is a text utility, not an X one. The remote vim never sees your mouse actions: it's mintty that performs select / paste. Are you sure? man ssh: " -X  Ena

Re: mintty mouse behavior with vim

2023-05-11 Thread René Berber via Cygwin
On 5/11/2023 8:16 PM, Duncan Roe via Cygwin wrote: You expect too much of ssh. ssh is a text utility, not an X one. The remote vim never sees your mouse actions: it's mintty that performs select / paste. Are you sure? man ssh: " -X Enables X11 forwarding. This can also be specified

Re: mintty mouse behavior with vim

2023-05-11 Thread Duncan Roe via Cygwin
On Thu, May 11, 2023 at 03:24:18PM +, cygwin wrote: > > Greetings. > > In mintty, while using vim, I would like to highlight a few lines, and > have vim tell me how many lines have been highlighted. Is this a > possibility? For example: > > 0 > 1 > ->2 > ->3 > ->4 > ->5 > 6 > 7 > 8 > 9 > > If I

Re: mintty mouse behavior with vim

2023-05-11 Thread Gary Johnson via Cygwin
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

RE: mintty mouse behavior with vim

2023-05-11 Thread Jose Isaias Cabrera via Cygwin
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 wind

Re: mintty mouse behavior with vim

2023-05-11 Thread Brian Inglis via Cygwin
On 2023-05-11 09:24, Jose Isaias Cabrera via Cygwin wrote: In mintty, while using vim, I would like to highlight a few lines, and have vim tell me how many lines have been highlighted. Is this a possibility? For example: 0 1 ->2 ->3 ->4 ->5 6 7 8 9 If I highlight lines 2 through 5, I would li

mintty mouse behavior with vim

2023-05-11 Thread Jose Isaias Cabrera via Cygwin
Greetings. In mintty, while using vim, I would like to highlight a few lines, and have vim tell me how many lines have been highlighted. Is this a possibility? For example: 0 1 ->2 ->3 ->4 ->5 6 7 8 9 If I highlight lines 2 through 5, I would like vim to tell me that 4 lines have been highl