On 5/17/06, Baha-Eddine MOKADEM <[EMAIL PROTECTED]> wrote:
Hi all,


I have a file which behaves differently whether edited with win32
Notepad and gVim.
When opened in notepad I got several lines, which is the most
convenient "layout" for me, but when opened in gVim I got the file in
only one line.

I tried to set "ff" to "dos" but it does not have any effect.

Does any one have a clue ?
How can I do to have the file edited in several lines ?
What have I missed ?

Thank you.

Eddine.

By any chance, is notepad wrapping it?  Check in notepad if "Word
Wrap" is checked under the Format menu.  If so, you may actually have
a single line file that is being wrapped automatically in notepad.
For similar wrapping in Vim:
    :set wrap

I say similar since there are a number of options that can affect
exactly how Vim wraps.  See
    :help wrap
for a quick howto and a list of some of the options affecting wrapping in vim.

Jonathon

Reply via email to