add vi-style/emacs-style line editing interface