Fixup modelines for emacs, also fixup zsh use and the key inputs used in snippets.