E488 is Trailing characters
Perhaps it is occurring because your script has DOS line endings on a
Unix/Mac system. That frequently causes these kinds of errors. Ensure
your script containing the autocommand is saved with Unix line endings
and it should go away. Vim scripts with Unix line
On 17/04/11 13:54, Ben Schmidt wrote:
E488 is Trailing characters
Perhaps it is occurring because your script has DOS line endings on a
Unix/Mac system. That frequently causes these kinds of errors. Ensure
your script containing the autocommand is saved with Unix line endings
and it should go
On Sun, Apr 17, 2011 at 2:57 PM, Tony Mechelynck
antoine.mechely...@gmail.com wrote:
On 17/04/11 13:54, Ben Schmidt wrote:
E488 is Trailing characters
Perhaps it is occurring because your script has DOS line endings on a
Unix/Mac system. That frequently causes these kinds of errors.
On 18/04/11 6:57 AM, Tony Mechelynck wrote:
On 17/04/11 13:54, Ben Schmidt wrote:
E488 is Trailing characters
Perhaps it is occurring because your script has DOS line endings on a
Unix/Mac system. That frequently causes these kinds of errors. Ensure
your script containing the autocommand is
On 18/04/11 01:02, Ben Schmidt wrote:
On 18/04/11 6:57 AM, Tony Mechelynck wrote:
On 17/04/11 13:54, Ben Schmidt wrote:
E488 is Trailing characters
Perhaps it is occurring because your script has DOS line endings on a
Unix/Mac system. That frequently causes these kinds of errors. Ensure
your
I want use %s/^M//g to delete the ^M in *.c files.
In vimrc file, I added
au BufRead *.c :%s/^M//gcr
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?
au BufRead *.c :silent! %s/\r//g
--
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
On 17/04/11 06:51, Michael(Xi Zhang) wrote:
I want use %s/^M//g to delete the ^M in *.c files.
In vimrc file, I added
au BufRead *.c :%s/^M//gcr
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