Set core.autocrlf to input
Fix vim config