X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BE5FB385558C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1683909550; bh=QMEcR8DKhH+ZoND/vJo0HBdsdDmeubd3X9yEKS8K/XQ=; 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=oQEWlcvdavkm9h/U5XqowjrQGA1GrG5kblSi8eHxL+ydJIm6pG5w+ibyXEgosi3F5 XTHnMzsBTZCHkXqUE9FbHcBc64sM9EN4NrGgunVZiHU4ihxfNzi9/jAUfmcQ8dW5W6 LVAXIOQp0PdB+NbCoqVlc76DrXJlgFxjywbEa08M= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AED793858C2D X-Authority-Analysis: v=2.4 cv=XZqaca15 c=1 sm=1 tr=0 ts=645e6b9e a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=IkcTkHD0fZMA:10 a=ped5OiuClPl_8l97lFUA:9 a=QEXdDO2ut3YA:10 Message-ID: <5fc7b7d2-a66a-f707-e2fe-f59ecf33ed25@Shaw.ca> Date: Fri, 12 May 2023 10:38:53 -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 Content-Language: en-CA To: cygwin AT cygwin DOT com References: Organization: Inglis In-Reply-To: X-CMAE-Envelope: MS4xfCDhwDKa6uphlM7azB52bNEh/qxuqXdFAI43CH1EKTsquUN75Gd8czKytetY5iegtioqk9IRbbniYMTSBe289mzSdGT1kGl3IoHipj4n8gLxuK1Vf+3f ZkTjyIoa/CFXxJe2Jc07520229/A5doUNFacyUJR/letsbDn9LRZG2hnSrfUPIZikwOW734relrIRaAjNLXh03QWmyTfr0I5Uow= X-Spam-Status: No, score=-4.0 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Brian Inglis via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Brian Inglis , Jose Isaias Cabrera Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 34CGdYTK001045 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 -- 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