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