X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 81D243856DC8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1683840370; bh=JLH01QhYIBut5hyQeYPKci98fUznzx+l2rODW5snGA8=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=yl32fsHu09+1isS/8Z8EkAERkKoXb9Gw5u8ZTsNlvpSWCcix3QUrUVggWojACAfIe ak5oZR2pBnpHoRNQGkiGsNgZRC8iAnUQwcwd6HTVK/dXxxTByySs2Aan6xocWC7IVJ 3fgVuPxjR2aZrVXm4gSa0kDIkoY9dU6dp6jfgLAQ= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 893863858C54 Date: Thu, 11 May 2023 14:25:54 -0700 To: cygwin AT cygwin DOT com Subject: Re: mintty mouse behavior with vim Message-ID: <20230511212553.GD21381@phoenix> Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Operating-System: Linux 2.6.32-74-generic GNU/Linux User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Gary Johnson via Cygwin Reply-To: Gary Johnson Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "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 > > 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