Use vi mode inside command line applications