* Mostafa S.Ari <[email protected]> [2010-08-19 11:24]:
> this is a vim script file and the message is
> E15 Invalid Expression ""^M
> I search it with /^M but I cant find any pattern.

searching like this will look for
a capital M right after the beginning of the line.
because the '^' stand for the beginning of a line.

read again what i had written:
> > so - search for the CTRL-M with "/^M", ie
> > type "/" then CTRL-V followed by CTRL-M.

the "^M" should show up in blue here.

> I source it in another file that
> when vim start it load and
> vim at start time give this errors
> I have attached the file

i have opened the attached file -
and there are no errors at all.

the message i see after startup is this:
"/tmp/RslToolsConfigure.vim" [dos] 32L, 2263C

vim sees that it is a DOS/Windows file and will
write the EOLs accordingly.  so.. all is good.
why get redi of the CTRL-Ms when tehre is no need to?

ps: please do NOT top-post.  thankyou.

Sven

-- 
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

Reply via email to