Added Yasnippets config to .emacs. Alt+w closes window