delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/01/22/12:29:06

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
X-Received: by 10.180.103.136 with SMTP id fw8mr22532658wib.27.1358875723774; Tue, 22 Jan 2013 09:28:43 -0800 (PST)
In-Reply-To: <CAGHJv4fY+kPCm_pBKMKZC-u64+DsFjqQOKfdTbk3+Wtf_Yi-9A@mail.gmail.com>
References: <loom DOT 20130122T174429-370 AT post DOT gmane DOT org> <CAGHJv4fY+kPCm_pBKMKZC-u64+DsFjqQOKfdTbk3+Wtf_Yi-9A AT mail DOT gmail DOT com>
Date: Tue, 22 Jan 2013 09:28:43 -0800
Message-ID: <CAN4-eH+5NZWH67KwOa8OoCoySfMHqJ=r6mv1rV9HD3BLMhFc4w@mail.gmail.com>
Subject: Re: Cygwin gvim needs weird ritual to past from Windows clipboard
From: Alan Thompson <thompson2526 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-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

I always use the keyboard shortcuts to cut/paste from windows apps
(e.g. Chrome/Firefox, etc).

 - Highlight the desired text (typically using "v" or "V" & motion).
 - Copy using "-*-Y (double quote, asterisk, y) to yank into the
system clipboard
 - Paste into the windoze app (browser, etc) using Crtl-V  as usual

Also, note that for some things I use the Cygwin version of GVim (have
to start the X11 server first), and for some things I use the native
Windows version of GVim.

Alan Thompson

On Tue, Jan 22, 2013 at 9:18 AM, Chris Sutcliffe <ir0nh34d AT gmail DOT com> wrote:
> On 22 January 2013 11:55, Andy wrote:
>> I installed cygwin's gvim on Windows 7.  I found that pasting from the
>> Windows clipboard into gvim doesn't work by clicking the middle mouse
>> button unless I go through a weird ritual that I discovered by
>> accident.  If I don't do this, I get "E353: Nothing in register *".
>
> Vim's Wiki has a section dedicated to having Cygwin (G)Vim interact
> with the Windows clipboard:
>
> http://vim.wikia.com/wiki/Using_the_Windows_clipboard_in_Cygwin_Vim
>
> There are a few options outlined in there that should help you out.
>
> Chris
>
> --
> Chris Sutcliffe
> http://emergedesktop.org
> http://www.google.com/profiles/ir0nh34d
>
> --
> 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
>

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