How can I change the format of a text file that I'm editing in vim? I recently saved the source code of a web page and opened it in vim, and it said at the bottom [unix], which I assume means vim decided for some reason that this is a "Unix" file (or should be viewed as a Unix file), however every line ends with the CR symbol, ^M, so this is obviously a "Windows" file.
I know I can do a simple substitution of all ^M's with nothing to get rid of them (assuming there are no other ^M's in the file that I wouldn't want to get rid of), but I'd also like to know if I can change that setting (the vim file format display) myself. Also, why wasn't vim able to recognize that the file was separated by CR/NL instead of just NL? --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
