Loading ...
Sorry, an error occurred while loading the content.
 

Re: [Bug] On Unix-like systems, cannot redir to register +

Expand Messages
  • Yegappan Lakshmanan
    Hi Antoine, ... Redirecting the Ex command output and messages to the + register is not (yet?) supported and is not mentioned in the help for the :redir
    Message 1 of 3 , Jun 2, 2006
      Hi Antoine,

      On 6/2/06, A.J.Mechelynck <antoine.mechelynck@...> wrote:
      > Bug: Cannot redir to @+
      >

      Redirecting the Ex command output and messages to the + register
      is not (yet?) supported and is not mentioned in the help for the ":redir"
      command.

      - Yegappan

      > - 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.
      >
    • A.J.Mechelynck
      ... Indeed; but it shouldn t be very difficult to implement, especially since redirect to @* _is_ possible. I believe it s an oversight. Let s see what Bram
      Message 2 of 3 , Jun 2, 2006
        Yegappan Lakshmanan wrote:
        > Hi Antoine,
        >
        > On 6/2/06, A.J.Mechelynck <antoine.mechelynck@...> wrote:
        >> Bug: Cannot redir to @+
        >>
        >
        > Redirecting the Ex command output and messages to the + register
        > is not (yet?) supported and is not mentioned in the help for the ":redir"
        > command.
        >
        > - Yegappan
        Indeed; but it shouldn't be very difficult to implement, especially
        since redirect to @* _is_ possible. I believe it's an oversight. Let's
        see what Bram will say when he comes back.


        Best regards,
        Tony.
      Your message has been successfully submitted and would be delivered to recipients shortly.