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

Re: 'gv' command strangeness

Expand Messages
  • Bram Moolenaar
    ... Let s call that a bug. I ll look into fixing it. -- Space is big. Really big. You just won t believe how vastly hugely mind- bogglingly big it is. I
    Message 1 of 2 , Mar 29, 2005
    • 0 Attachment
      Alexei Alexandrov wrote:

      > Could you please explain me if the following Vim behavior bug or not.
      > Open any text file in Vim. Move on, for example, 10th line. Press
      > 'yy'. Then move on another line. Press 'V' to get into the linewise
      > Visual mode. One line is visually selected. That's fine. Press 'p' to
      > paste the previously yanked text. Now press 'gv'.
      >
      > Expected behavior: the same line as before is visually selected.
      > Observed behavior: somehow the line below the previously selected one
      > is selected.

      Let's call that a bug. I'll look into fixing it.

      --
      "Space is big. Really big. You just won't believe how vastly hugely mind-
      bogglingly big it is. I mean, you may think it's a long way down the
      road to the chemist, but that's just peanuts to space."
      -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
      \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
    Your message has been successfully submitted and would be delivered to recipients shortly.