On 2013-05-02, Waters, Bill wrote:

> I think that the root of the problem is that in the shell from
> GVim the file is getting treated as binary instead of text.  Not
> sure how to fix that.
> 
> Typing that gave me a thought...  I removed these lines...
> 
>       set shell=c:/cygwin/bin/bash.exe
>       set shellcmdflag=-c
> 
> So, now the shell is "C:\Windows\system32\cmd.exe".  Then when I
> run indent in GVim I don't get any ^M characters in the result.
> 
> I'd rather use the cygwin shell though.

This is just a hunch, and not having indent or an example file I
don't have a way to test it, but try this:

    :let $SHELLOPTS = "igncr"

Regards,
Gary

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to