kakkyz81 / evervim

edit evernote on vim.
232 stars 48 forks source link

Unix line breaks #11

Open rextrebat opened 12 years ago

rextrebat commented 12 years ago

When I edit a file in vi, it replaces dos line breaks with unix line breaks. Even if I explicitly do "set ff=dos|w", it still does not fix it. This is on a Linux (Ubuntu) machine.

Any ideas?

kakkyz81 commented 12 years ago

When I try on windows, set ff=unix, but save note on evervim and open that note,ff=dos.

I think it is used system default linebreaks.

What is problem? you are not edit plaintext, you edit "evernote",so I think it is not problem.

rextrebat commented 12 years ago

I don't agree that something that is plain text does not qualify to be an Evernote note. Here is what Evernote says - https://support.evernote.com/link/portal/16051/16058/Article/621/An-Introduction-to-Notes

I have a lot of notes that are plain text including, sometimes, code snippets.

I think that if I explicitly set the file format (using set ff=dos), evervim should respect that and appropriately save the "note". If not set explicitly, using system defaults seems appropriate.