fix not to change search patterns for Vim which doesn't have keeppattern