Use vi mode in terminal

But with some emacs fallbacks