copied functions from mathiasbynens
added .gitattributes
added .gvimrc