It is 2 lines, and the ^M is indeed a ctrl-M, that can be typed as you did, or by ctrl-q<ENTER>. Depending on your vim options you may also be able to use <CR> or \n to get the same effect.
\r not \n, especially in this case (the replacement in a :s command). Using \n would put a null byte in your file, not a line break. :h sub-replace-special Ben. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php