I want use %s/^M//g to delete the ^M in *.c files. In vimrc file, I added
au BufRead *.c :%s/^M//g<cr> But Vim give me a E488 error. If I use au BufRead *.c :%s/^M//g (delete the <cr> from above) It will be no error, but I need to press Enter to continue. Anyone could give me a hint? Thanks! -- 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
