Permalink
Browse files

Fucking Windows line-endings

  • Loading branch information...
1 parent a43ef3a commit 753ee4d436429c89c9fdf79c9d7f58e0e9129bd2 @mde committed Oct 17, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 .exrc
View
4 .exrc
@@ -28,6 +28,8 @@ set sw=2
" set sm
" Auto-indent
set ai
+" Fucking Windows
+set ffs=unix,dos
set history=1000
@@ -49,6 +51,8 @@ au BufRead,BufNewFile *.ejs set filetype=html
au BufRead,BufNewFile *.as set filetype=javascript
" JS syntax for Jakefiles
au BufRead,BufNewFile Jakefile set filetype=javascript
+" Always, always, always use Unix line-endings
+au BufRead,BufNewFile * set fileformat=unix
:set hlsearch

0 comments on commit 753ee4d

Please sign in to comment.