Friday, October 21, 2011

Re: One line without EOL

On 21/10/11 17:25, meino.cramer@gmx.de wrote:
> Hi,
>
> is it possible to create a line of text with vim which
> do not contain any \n, \ra ?
>
> Or in other words: The line should contain nothing
> more than the visible chars.
>
> I need this to generate test data for testing a VFD...
>
> How can I accomplish this?
>
> Thank you very much in advance for any help!
>
> Best regards,
> mcc
>

It is possible but definitely not recommended. You must

:setlocal binary noeol

in the file before writing it, and it must contain only the one line (it
is of course not possible to have any line other than the last one end
without an end-of-line mark).

See
:help 'binary'
:help 'eol'


Best regards,
Tony.
--
Behold the warranty ... the bold print giveth and the fine print taketh
away.

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

No comments: