X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_56,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4976D118.2050405@gmail.com> Date: Wed, 21 Jan 2009 08:39:04 +0100 From: ludo User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: paste into vim References: <49759CCD DOT 3090302 AT gmail DOT com> <17393e3e0901200844x72a196edo9873653466f1e1d2 AT mail DOT gmail DOT com> In-Reply-To: <17393e3e0901200844x72a196edo9873653466f1e1d2@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Matt Wozniski a écrit : > 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... > neither "*p or "+p work but shift+insert works fine (like suggests Matthias Morche) -- 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/