On 05/24/12 08:34, Bob von Knobloch wrote: > Hi, I've searched all over but can't find an answer. How can one perform > commands like ':%s/\n/\r\r/g' (replacing newlines or tabs etc.) in the > gui's 'find and replace' dialogue?
Playing around with :promptrepl (the underlying command), it looks like the *search* portion of it is happy to take various regexps. However the replacement part only seems to accept literals. Thus in your example, it puts in a literal "\r\r" instead of two newlines. So I guess my short answer based on testing is: when using the gui find-and-replace, there's no way to replace with anything but literals. I'd be glad if someone could prove me wrong (it seems a peculiar development choice to lose the parity with :substitute) -tim -- 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
