history search + vi mode