I used to edit all my files with Vim and i never got problems with it. But, yesterday i take back some work from a developper and open the files he gaves me.
I don't really know why but Vim reads it as one line only :
<?php ^M $lesdatas=file_get_contents('datas.dat'); ^M $datas=explode('=>',$lesdatas); foreach ($datas as $data) { ^M // comment ^M $vals=explode('==',$data); Etc etc...
Looks like vim can't interpret ^ M as a 'Enter'.
How can i convert the file to read it normally ?
Thx for your help guys