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: References: Date: Tue, 22 Jan 2013 09:28:43 -0800 Message-ID: Subject: Re: Cygwin gvim needs weird ritual to past from Windows clipboard From: Alan Thompson To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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