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

Re: edit a register

Expand Messages
  • shawn wilson
    Thanks y all. I guess no direct way to do what I want, but I guess I can live with ... -- -- You received this message from the vim_use maillist. Do not
    Message 1 of 8 , Feb 11, 2013
      Thanks y'all. I guess no direct way to do what I want, but I guess I
      can live with
      :let @r = ' ctrl+r ctrl+r + '

      On Mon, Feb 11, 2013 at 11:23 AM, Marcin Szamotulski <mszamot@...> wrote:
      > On 10:35 Mon 11 Feb , shawn wilson wrote:
      >> Is there any way to edit a register?
      >>
      >> Sometimes I copy something with a return in it into "+ or I realize I
      >> put too much/little into a macro and would be nice to go and tweak it.
      >> :reg just lets me see things but not edit. Any ideas?
      >>
      >
      > If you'd rather use a named register like "a rather than "+,
      > then if you copy to "A you actually append to the content of "a. See
      > ':help quotea' which has a better wording :).
      >
      > Best regards,,
      > Marcin
      >
      > --
      > --
      > You received this message from the "vim_use" maillist.
      > Do not top-post! Type your reply below the text you are replying to.
      > For more information, visit http://www.vim.org/maillist.php
      >
      > ---
      > You received this message because you are subscribed to the Google Groups "vim_use" group.
      > To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@....
      > For more options, visit https://groups.google.com/groups/opt_out.
      >
      >

      --
      --
      You received this message from the "vim_use" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php

      ---
      You received this message because you are subscribed to the Google Groups "vim_use" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Sung Pae
      ... select your register, edit with `e`. https://github.com/tyru/regbuf.vim -- -- You received this message from the vim_use maillist. Do not top-post! Type
      Message 2 of 8 , Feb 11, 2013
        On Mon, Feb 11, 2013 at 11:49:18AM -0500, shawn wilson wrote:
        > Thanks y'all. I guess no direct way to do what I want, but I guess I
        > can live with
        > :let @r = ' ctrl+r ctrl+r + '

        tyru's regbuf.vim abstracts registers in the way that you want:

        :RegbufOpen

        select your register, edit with `e`.

        https://github.com/tyru/regbuf.vim

        --
        --
        You received this message from the "vim_use" maillist.
        Do not top-post! Type your reply below the text you are replying to.
        For more information, visit http://www.vim.org/maillist.php

        ---
        You received this message because you are subscribed to the Google Groups "vim_use" group.
        To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@....
        For more options, visit https://groups.google.com/groups/opt_out.
      Your message has been successfully submitted and would be delivered to recipients shortly.