From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) by sourceware.org (Postfix) with ESMTPS id C017A3858D1E for ; Thu, 11 May 2023 18:23:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C017A3858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=Shaw.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=shaw.ca Received: from shw-obgw-4003a.ext.cloudfilter.net ([10.228.9.183]) by cmsmtp with ESMTP id x5Y5psitO6NwhxAxBpBlOg; Thu, 11 May 2023 18:23:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1683829429; bh=6NEQFPEHiXB0CNhcmJj3us3P4rzi0MKFR5ePA7rrX+Y=; h=Date:Reply-To:Subject:To:References:Cc:From:In-Reply-To; b=S7AXTxwS89axjDJqvuko2Pq8WTgS/HILg4G5dsIKugA5Vuw+iu8VwQKUfkJGUQ4t9 mHg7D2Uz+ZFYlgvtNfeb4jZ0EpgzrTYVoxPlRbR+tfaYUbNAu2wp2ZkBop64nfFfxr +HcWTy4bLfqwKHJVPdtB9tBt3t6wFG6GzDTnufY+CUgligIWOdrpZewhqz2MvlQTlh Fq2MgBZlJFHufKqVzY/hJqpAoiVLdCRcwPwPWj+49X8k/5NvVPkt33JIzIBuh4PrLK ynzBoMAxnjDJhYe/XcPjSF6O5B7Vioxeh4/ztVe81jC7QX5TS8hZEt6pshVBN5kbW0 lX44UszhgmhlQ== Received: from [10.0.0.5] ([184.64.102.149]) by cmsmtp with ESMTP id xAxApwuR7cyvuxAxAp6gSL; Thu, 11 May 2023 18:23:49 +0000 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: 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 Reply-To: cygwin@cygwin.com Subject: Re: mintty mouse behavior with vim Content-Language: en-CA To: cygwin@cygwin.com References: Cc: Jose Isaias Cabrera , Jim Garrison via Cygwin From: Brian Inglis Organization: Inglis In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 List-Id: 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