10
1
After I search for "foo" by doing "?foo", I can search forward by "n" or backward by "N", however sometimes the n/N directions are flipped in the middle of search. If I restart Vim, it's OK again. What key sequence may I have pressed to cause this? How to revert back to normal mode?
I don't recall that I ever ran into this in old Vi.
EDIT: it's not the Caps Lock key. Thanks for the suggestion though.
I guess it's not just the wrapping around at the end/beginning of the file? Or maybe you typed * or something that reverses the search? I know I unintentionally do it a lot of time. – Dave Vogt – 2010-08-09T16:07:20.097
@Dave Vogt, it's not just end/beginning of the file. I just tested "", you are right, if I press "" I can change/correct the search direction. If you put in an answer, I will vote it up and accept it. Thanks. – grokus – 2010-08-09T16:15:21.343