delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/05/11/14:25:18

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 196EA3856DF2
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1683829468;
bh=aXOPfC0Hab15bdQi/FKsIAB0HfAwm66CT7XBQXTr2rk=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=qd7iNohG2QDbU4ip0k+ft/L8/40GYbX5KAAZOed8nHSAh4vrDqqxNYuK5Y1t+Dl4E
4mnYOZTBVbpTBuemYiWBdNCmVvPfX2jZWW3T7dbeqfPbK8Is//7a8eY5RN7ZShLUDf
KliLGQNFVeM81ytMbaVkeETw4E+sWYbchX2o24Yw=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C017A3858D1E
X-Authority-Analysis: v=2.4 cv=VbHkgXl9 c=1 sm=1 tr=0 ts=645d32b5
a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17
a=IkcTkHD0fZMA:10 a=7392p9bmP1SmsWvOWsUA:9 a=QEXdDO2ut3YA:10
Message-ID: <ca30cbf0-65e6-45d7-032d-4248351b30c5@Shaw.ca>
Date: Thu, 11 May 2023 12:23:48 -0600
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.10.1
Subject: Re: mintty mouse behavior with vim
To: cygwin AT cygwin DOT com
References: <DB9P251MB006383EC72F6198A45FC248EDE749 AT DB9P251MB0063 DOT EURP251 DOT PROD DOT OUTLOOK DOT COM>
Organization: Inglis
In-Reply-To: <DB9P251MB006383EC72F6198A45FC248EDE749@DB9P251MB0063.EURP251.PROD.OUTLOOK.COM>
X-CMAE-Envelope: MS4xfJ8xBDbMx49FjHQNvrlLd7rp1RLX2m/Rqa96k8LsfOYkjQjbZvHLxWBmhRjDvEdW8ur6wdspkOdWTFL7WRf+lTvo5bjK5/GEOaQhjmB7oT3L2tRx70+l
KjkPEZl5LSwtzQV4IYfYV2JfmGZBRHq9xJ09VSOJnUH3zHWM1/Sf5ys+/HbXErAAEXKzjjAa0ZrEK5FNv35Wrbc+GTDxCpCrR1Q=
X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_LOW,
RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Brian Inglis <Brian DOT Inglis AT Shaw DOT ca>,
Jose Isaias Cabrera <jicman AT outlook DOT com>,
Jim Garrison via Cygwin <cygwin AT cygwin DOT com>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 34BIOrlV014785

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 like vim to tell me that 4 lines have been highlighted. It works fine with the windows vim, but it does not want to do it through mintty. Thoughts? Thanks.
> 
> José
> 
> PS: The real problem is that I am ssh'ing to an ubuntu box which I am using vim, but the mouse is not being acknowledged. Although, I can highlight and copy/paste, but clicking to a word to move the cursor there, it's not acknowledged.

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

-- 
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

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019