added key binding to kill emacs
updated c++ snippets with default values