On 2008-10-28, Tim Johnson <[EMAIL PROTECTED]> wrote:
> Using ver 7.1 on kubuntu 7.10.
> (Huge version with GTK2-GNOME GUI)
> 
> In vim, I can make a selection in visual mode, then
> press 
> "+y
> and the selected text is copied to the X clipboard.
> 
> I'd like to be able to programmatically copy a composed
> string to the clipboard.
> 
> any ideas?
> I've tried:
> :h clipboard 
> and do not see any info on this topic.

   let @+ = "hello, world"

and/or

   let @* = "hello, world"

See

   :help x11-selection

HTH,
Gary


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to