[Vimperator] how-to add copy function

Martin Stubenschrott stubenschrott at gmx.net
Thu May 24 17:44:49 PDT 2007


On Thu, May 24, 2007 at 02:33:45PM -0700, Winter Faulk wrote:
> Sorry,
> 
> I didn't know there was a function. "copyToClipboard" I posted a kinda
> bug where Ctrl+C would not work. I understand that this is not the vim
> way so I was looking in the help but could not find any was of copying
> selected text so I added the bit of code that I sent you but if this
> is already in there then what is the key command to copy selected
> text?

copyToClipboard(str) just copies any passed string "str" to the
clipboard, not the selected text. So your patch was a useful addition.


More information about the Vimperator mailing list