Update .gitconfig

Added editor and global gitignore to the config.