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

Re: inc search behaviour

Expand Messages
  • Michael Naumann
    ... I think this behaviour is quite perfect. I don t have a match, so the cursor should not change. It thus is a very visual indication, that I mistyped. ...
    Message 1 of 2 , Nov 21, 2002
    • 0 Attachment
      On Thursday 21 November 2002 07:58, Pritesh Mistry wrote:
      > Hi,
      >
      > I was wondering whether it's possible to change the incremental search
      > behaviour as follows:
      >
      > Current behaviour:
      >
      > After you start typing, vim starts highlighting the series of letters
      > typed. However, on failing to get the next match, it jumps back to the
      > original line that you were when you started the incsearch.

      I think this behaviour is quite perfect. I don't have a match, so the
      cursor should not change. It thus is a very visual indication, that
      I mistyped.

      >
      > Is it possible
      >
      > to hold on to the last match, keeping it highlighted, even while you
      > have misspelled the rest of the word. And, be able to cancel out the
      > misspelled letters until the last match & continue.

      This is already possible. Just hit Backspace. The cursor will eventually
      jump back to the match.

      >
      > Is there any advantage of the current implementation over the suggestion.
      > (Hope I am clear enough in the first place!)

      -- Michael
    Your message has been successfully submitted and would be delivered to recipients shortly.