On Fri, Jul 08, 2011 at 11:40:27PM +0100, Lars Hecking wrote:
I'd also love to teach vim how sto how those pesky ^M characters. It doesn't, and that's perceived user-friendliness gone too far. Proper vi on Unix does the right thing.
If it thinks it's a DOS format file then it normally puts [dos] on the status line.
You can change the autodetection at load time, or change file format at edit time or...
http://vim.wikia.com/wiki/File_format