This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: paste into vim


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]