On Apr 14, 4:01 pm, epanda <[email protected]> wrote: > Hi, > > I am using this kind of func to substitute all my items list. > > map(myList,'substitute(v.val,myPattern,"<xml>\n\\1</xml>","")') > > All is working out of carriage return, > note that I use writefile to store all myList into one file with b > mode. > > It does not put carriage return where I put \n.
Use \r :help s/\n :help s/\r Brett Stahlman > > Why? > Thank you. -- 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 To unsubscribe, reply using "remove me" as the subject.
