From: Simon Ruderich Date: Fri, 27 Jul 2012 01:00:40 +0000 (+0200) Subject: vimrc: Always use unix line-endings for new files. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=114d0fb1fdbf4906b4a9907292746eab77d6b808;p=config%2Fdotfiles.git vimrc: Always use unix line-endings for new files. --- diff --git a/vimrc b/vimrc index 50c6b70..7df6365 100644 --- a/vimrc +++ b/vimrc @@ -120,6 +120,9 @@ endif " existing files. set fileencodings=utf-8,latin1 +" Always use unix line-endings for new files. +set fileformats=unix,dos + " Wrap text after 78 characters. set textwidth=78