[vim] Search history implementation