zshrc: Use emacs keybindings and derive keys from terminfo