Hi Vegard,

I have been tied for awhile that the 'n/N' commands are not able to open the
folded text in org-mode, or not able to open the folded invisible souce code in
C/C++ mode. Finally I added this feature so that if "search-invisible" is "open"
the "n/N" commands will be able to open an invisible area when the match enters
that area, at the same time re-close the previouly opened invisible area the
match has just moved away from (provided that the subsequent 'n/N' is pressed
within "vimpulse-flash-delay" and no "non-search" commands had been executed
between the two "n/N" commands).

I added this because I believe that Evil will have the same problem (if it
hasn't been handled yet).

Please find attached my patch file.

Thanks,

York