Fix test.
Incremental search for vim2.
Fix some warnings.