On 19/08/10 14:07, Sven Guckes wrote:
[...]
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
Why get rid of them? Because Unix Vim can *edit* a dos-format file if
'fileformats' includes "dos" but it cannot *source* it. OTOH, Windows
Vim can both edit and source unix-format files, provided that
'fileformats' contains "unix".
The solution is to have :set ffs=dos,unix or :set ffs=unix,dos,mac *and*
to make sure that *.vim, vimrc and gvimrc files are saved with ff=unix
(at least when meant to be usable also by a Vim instance built for Unix
[including Linux and Cygwin] or Mac).
See
:help :source-crnl
:help 'fileformats'
:help 'fileformat'
:help ++opt
Best regards,
Tony.
--
In the Top 40, half the songs are secret messages to the teen world to
drop out, turn on, and groove with the chemicals and light shows at
discotheques.
-- Art Linkletter
--
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