I am using vim to view XML files created by a Windows app. It is probably a malformed XML file because vim thinks it's opening a Unix file format. So I end up seeing
^M at the end of almost every line.
I don't want to mess with the file, as vim is the only viewer. It is going to be used by other apps, and in fact, may even be in the middle of being written to. I just want vim to interpret
<CR><LF> as a Unix carriage return. In case it matters, I typically open files with either
:e path/to/file :split path/to/file :vsplit path/to/file
or I might use the netrw plugin. I am using vim 7.4, patches 1-729, built for Cygwin. It is not easy to upgrade in my environment.
P.S. Sorry if the tag is not quite. The posting web page suggested original-vim, but that tag doesn't seem to exist. No other tags in the suggestion list seemed any more appropriate. I am open to suggestions as to a better tag.