Bug: Cannot redir to @+

- Symptom: Trying to :redir to register + (seen by other apps as the clipboard) gives

E475: Invalid argument: @+

- Vim version: 7.0.017 for GTK2 GUI

- Workaround: :redir to register * then (after :redir END) do manually

   :let @+ = @*

Just redirecting to @* is not enough, the other app (e.g., Thunderbird) will paste from whatever was previously in the "clipboard" (actually, the "primary selection" @+).

- Additional comments: On non-Unix versions (where @* and @+ are synonymous) this is of course not a problem.


Best regards,
Tony.

Reply via email to