added vim setting, and fixed gitconfig to use vim as a editor