X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <49759CCD.3090302@gmail.com> References: <49759CCD DOT 3090302 AT gmail DOT com> Date: Tue, 20 Jan 2009 11:44:54 -0500 Message-ID: <17393e3e0901200844x72a196edo9873653466f1e1d2@mail.gmail.com> Subject: Re: paste into vim From: Matt Wozniski To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 On Tue, Jan 20, 2009 at 4:43 AM, ludo wrote: > Hi, > > how to paste in vim (not gvim) from clipboard ? > > I have two terminals (rxvt) > > In the first terminal, I select a text with the mouse (and I can see it in > the windows clipboard via clipbrd.exe) > > In the second terminal, I run vim, and I want to paste the selected text > I try the command "*p > but vim pastes nothing > > (If I try with gvim, gvim pastes the selected text) On Linux/Unix, pasting from the primary X selection is done with "*p and pasting from the clipboard is done with "+p - presumably you're running a Cygwin vim, since it works fine with Rxvt's PTYs, so I would expect you to need "+p for pasting. I can't test this, at present, though, so you'll have to let me know if it works... ~Matt -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/