delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/12/28/12:23:04

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Wed, 28 Dec 2011 10:22:40 -0700
Message-ID: <CAFWoy7Haa7435VkvnFbUecejqrKRa46vnSa3qjFwZ6j5bcWUdg@mail.gmail.com>
Subject: Double click to select within VIM behavior change
From: Keith Christian <keith1christian AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Fellow Cygwin Denizens,

As we all know, when viewing a file with the "less" command, it's
possible to double click on text in order to select/copy, and paste
elsewhere at the command line or in another application (Word,
Notepad, etc.)

As recently as the last month or 6 weeks, this handy "shortcut" method
of selecting text from the VIM buffer has vanished.

It was possible to do this after issuing the ":g:" command to VIM:

        ":g:arbitrary_text"

would display lines containing "arbitrary_text" in the VIM buffer.

Double clicking words or lines filtered by ":g:" would select the
arbitrary_text string when it was double clicked, and it could be
pasted elsewhere in the VIM window or in any other application (Word,
Notepad, etc.)

NOTE ---- I'm not talking about double clicking text in the VIM window
that turns on the "-- VISUAL --" selection indicator, since that
operates solely within the VIM editor, and does not allow pasting the
selected text elsewhere.

VIM no longer behaves this way.  Has there been a change in VIM or in
the way Cygwin handles text in Mintty or PuttyCYG windows?

Brief info:
uname -a        CYGWIN_NT-6.1 KCHRISTIAN 1.7.9(0.237/5/3) 2011-03-29
10:10 i686 Cygwin
winProductName        Microsoft Windows 7  Service Pack 1 (build 7601)
mintty --version        mintty 1.0.2
PuTTYCyg        20101029
vim --version        VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Nov
23 2011 03:12:07)


Thanks, all.

========Keith

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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