update vimrc, refine cpp snippets