VIM Disable Automatic Newline At End Of File

Posted by Boushley on Stack Overflow See other posts from Stack Overflow or by Boushley
Published on 2009-06-26T18:52:34Z Indexed on 2010/12/31 2:54 UTC
Read the original article Hit count: 231

Filed under:
|
|
|
|

So I work in a PHP shop, and we all use different editors, and we all have to work on windows. I use vim, and everyone in the shop keeps complaining that whenever I edit a file there is a newline at the bottom. I've searched around and found that this is a documented behavior of vi & vim... but I was wondering if there was some way to disable this feature. (It wouldbe best if I could disable it for specific file extensions).

If anyone knows about this, that would be great!

© Stack Overflow or respective owner

Related posts about php

Related posts about vim