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

35540Re: Mysterious yank.

Expand Messages
  • Antoine J. Mechelynck
    Jan 1, 2003
    • 0 Attachment
      John Culleton <john@...> wrote:
      > If I type "yy" I yank one line. If I type "1y" I get no lines. If I
      > type "2y" I yank three lines.
      >
      > So how does one yank exactly 2 lines?
      > --
      >
      > John Culleton
      > Able Indexers and Typesetters
      > Rowse Reviews
      > Culleton Editorial Services
      > http://wexfordpress.com

      In normal mode, if I type yy I yank one line, if I type 2y I am still in
      operator-pending mode (waiting for entry of an object or motion), and if I
      type 2yy (with at least one line below the cursor line) I yank two lines
      (the one at the cursor and the one below). I'm not sure what 1y does. Done
      it (2yy) lots of times.

      Tony.
    • Show all 6 messages in this topic