adding support for emacs key bindings to the editor