add vi mode to readline apps