Greetings.

I wrote a script that uses the @+ to copy a string to the clipboard.
The strings are not being copied for some reason under the latest
stable MacVim.

Here is the code:

      if has("gui_running")
        let clipboardContents = split(location, " ")
        let @+                = clipboardContents[0x01]
      endif

The same code works fine under gvim in OS X, Linux, and Windows.

I tried setting @+ from the : command prompt as well:

:let @+ = "this is a test."

It doesn't work either.  Please advise and thanks in advance!

Have a great day,

pr3d4t0r
http://www.istheserverup.com

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

Reply via email to