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

Re: gn/gN and backwards search

Expand Messages
  • Ben Fritz
    ... Regardless, the inconsistency is confusing. At least the documentation should reflect this difference. -- You received this message from the vim_dev
    Message 1 of 4 , Nov 14, 2012
    • 0 Attachment
      On Wednesday, November 14, 2012 12:28:16 AM UTC-6, Christian Brabandt wrote:
      > On Tue, November 13, 2012 22:08, Andy Wokula wrote:
      >
      > > Am 22.10.2012 17:12, schrieb Benjamin Fritz:
      >
      > >> The help for gn and gN says that gn searches "forward...like with n"
      >
      > >> and that gN "searches backward, like with N". But when you do a
      >
      > >> backward search with ? instead of /, n moves the cursor backwards, and
      >
      > >> N moves it forwards. gn and gN do not behave accordingly, they
      >
      > >> continue to move forward with gn and backwards with gN. I think the
      >
      > >> behavior would be more intuitive if it accounted for the search
      >
      > >> direction like n and N, but at the very least, a documentation update
      >
      > >> is needed.
      >
      >
      >
      > I really hope, this is not going to be "fixed". The behaviour of
      >
      > n/N depending on the inital search direction is one of my greatest
      >
      > annoyances of Vim.
      >
      >

      Regardless, the inconsistency is confusing. At least the documentation should reflect this difference.

      --
      You received this message from the "vim_dev" 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
    Your message has been successfully submitted and would be delivered to recipients shortly.