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

Re: Yanking text between two markers into a named buffer

Expand Messages
  • Tony Mechelynck
    ... ...and if you want it to work characterwise, use backticks rather than apostrophes: `a ry`b which decomposes into `a go to mark a (characterwise) r the
    Message 1 of 5 , Dec 1, 2009
    • 0 Attachment
      On 05/11/09 19:13, Jürgen Krämer wrote:
      >
      >
      > Hi,
      >
      > Frans Grotepass wrote:
      >>
      >> As the title states, is there a way to yank the text between two markers into
      >> a named buffer?
      >
      > 'a"ry'b
      >
      > yanks the text between and including markers a and b into register r.
      >
      > Regards,
      > Jürgen
      >

      ...and if you want it to work characterwise, use backticks rather than
      apostrophes:

      `a"ry`b

      which decomposes into

      `a go to mark a (characterwise)
      "r the next operation will use register r
      y yank...
      `b ...to mark b (characterwise)


      Best regards,
      Tony.
      --
      hundred-and-one symptoms of being an internet addict:
      212. Your Internet group window has more icons than your Accessories window.

      --
      You received this message from the "vim_use" maillist.
      For more information, visit http://www.vim.org/maillist.php
    Your message has been successfully submitted and would be delivered to recipients shortly.