[vim] search history implementation

This patch allows the user to populate previous searches by pressing up/down arrow keys.