On Nov 14, 5:52 am, Eddine <[email protected]> wrote: > yes I know s/string1/string2 will not replace ^M or ^A ; > I just want to make a first try to replace string1 to string2 first > before replacing "string1" by "^M" >
1. Bottom-post please. 2. Yes, we understand that you probably know your seach won't do what you originally asked. You may be frustrated that Tony responded as if he assumed you didn't know this. WE however, are equally frustrated with the lack of anything we can use to help you in your question. Likely, you're using special characters wrong, or an incorrect range, or you've fallen victim to the behavior described for \r and \n in searches in :help sub-replace-special, or any number of other things. If you want us to help with your specific problem, SHOW US YOUR SPECIFIC PROBLEM. http://www.catb.org/~esr/faqs/smart-questions.html#beprecise -- 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
