Re: vim with Windows developments under linux and git

2015-05-24 Thread Ben Fritz
To get rid of the trailing ^M characters and correct the format I prefer: :e ++ff=dos :w See: http://vim.wikia.com/wiki/File_format http://vim.wikia.com/wiki/Automatically_reload_files_with_mixed_line-endings_in_DOS_fileformat -- -- You received this message from the "vim_use" maillist. Do not

Re: vim with Windows developments under linux and git

2015-05-23 Thread Pierre Couderc
Le 24/05/2015 03:25, John Little a écrit : On Saturday, May 23, 2015 at 3:08:01 AM UTC+12, pcouderc12 wrote: Is there somewhere an howto for "good practices", particularly to set vimrc ? People's preferences vary widely, particularly with these DOS/unix compatiblity issues, so I doubt you'll

Re: vim with Windows developments under linux and git

2015-05-23 Thread Pierre Couderc
Le 23/05/2015 18:57, Gary Johnson a écrit : On 2015-05-23, pcouderc12 wrote: Le vendredi 22 mai 2015 17:08:01 UTC+2, pcouderc12 a écrit : I have the usual problems with ^M and some other ones in these cases. I vant to use vim to develop Windows apps under linux (building in some Windows VM),

Re: vim with Windows developments under linux and git

2015-05-23 Thread John Little
On Saturday, May 23, 2015 at 3:08:01 AM UTC+12, pcouderc12 wrote: > Is there somewhere an howto for "good practices", particularly to set > vimrc ? People's preferences vary widely, particularly with these DOS/unix compatiblity issues, so I doubt you'll find a widely accepted "good practices"

Re: vim with Windows developments under linux and git

2015-05-23 Thread Gary Johnson
On 2015-05-23, pcouderc12 wrote: > Le vendredi 22 mai 2015 17:08:01 UTC+2, pcouderc12 a écrit : > > I have the usual problems with ^M and some other ones in these cases. > > > > I vant to use vim to develop Windows apps under linux (building in > > some Windows VM), with vim under linux. > > I

Re: vim with Windows developments under linux and git

2015-05-23 Thread pcouderc12
Le vendredi 22 mai 2015 18:19:29 UTC+2, Andrew Long a écrit : > On 22 May 2015, at 17:00, Gary Johnson wrote: > > On 2015-05-22, Pierre Couderc wrote: > >> I have the usual problems with ^M and some other ones in these cases. > >> > >> > > > > This behavior is controlled by the 'fileformat' and

Re: vim with Windows developments under linux and git

2015-05-23 Thread pcouderc12
Le vendredi 22 mai 2015 17:08:01 UTC+2, pcouderc12 a écrit : > I have the usual problems with ^M and some other ones in these cases. > > I vant to use vim to develop Windows apps under linux (building in > some Windows VM), with vim under linux. > I do not want to get rid of ^M, I want to keep

Re: vim with Windows developments under linux and git

2015-05-22 Thread Andrew Long
On 22 May 2015, at 17:00, Gary Johnson wrote: > On 2015-05-22, Pierre Couderc wrote: >> I have the usual problems with ^M and some other ones in these cases. >> >> > > This behavior is controlled by the 'fileformat' and 'fileformats' > options. Vim already sets 'fileformat' according to the lin

Re: vim with Windows developments under linux and git

2015-05-22 Thread Gary Johnson
On 2015-05-22, Pierre Couderc wrote: > I have the usual problems with ^M and some other ones in these cases. > > I vant to use vim to develop Windows apps under linux (building in > some Windows VM), with vim under linux. > I do not want to get rid of ^M, I want to keep all my files in some > sp

vim with Windows developments under linux and git

2015-05-22 Thread Pierre Couderc
I have the usual problems with ^M and some other ones in these cases. I vant to use vim to develop Windows apps under linux (building in some Windows VM), with vim under linux. I do not want to get rid of ^M, I want to keep all my files in some specialized directory in Windows format managed