Is there a way to make \ n or \ r characters visible in vim? (I want to see if the csv file I'm looking for uses only \ n or \ r and \ n at the end of lines.
:setl fileformat?
dosmeans CR-LF (sequentially, if only some lines contain both, it will be indicated as unix, and you will see the ^Mcharacters at the end of these lines), unixmeans LF; macmeans only newlines CR.
dos
unix
^M
mac