]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
vimrc: Always use unix line-endings for new files.
authorSimon Ruderich <simon@ruderich.org>
Fri, 27 Jul 2012 01:00:40 +0000 (03:00 +0200)
committerSimon Ruderich <simon@ruderich.org>
Fri, 27 Jul 2012 01:00:40 +0000 (03:00 +0200)
vimrc

diff --git a/vimrc b/vimrc
index 50c6b70ef316dd981abf86e5281639c5d061510f..7df6365182611242b13b9de9edc4a4ad4e24b202 100644 (file)
--- 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