Added vi mode (binding similar to emacs mode)