vim: move clearing of snippets outside of GbEditorVim.