Set vi mode and a couple of critical history gestures.