X-Recipient: archive-cygwin@delorie.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.3090302@gmail.com>
Date: Tue, 20 Jan 2009 11:44:54 -0500
Message-ID: <17393e3e0901200844x72a196edo9873653466f1e1d2@mail.gmail.com>
Subject: Re: paste into vim
From: Matt Wozniski <godlygeek@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

