added some snippets and also small changes in vimrc