[Techtalk] get rid of "^M" in a file
Gebhard Dettmar
gebhard.dettmar at student.hu-berlin.de
Sat Jun 18 21:33:06 EST 2005
On Friday 17 June 2005 22:41, Akkana Peck wrote:
> Gebhard Dettmar writes:
> > [...]
>
> This doesn't seem to work from the cmdline (i.e. you can't say
> vim ++ff=unix file.txt and have it work),
It works with
vim -c "edit ++ff=unix" readme.txt, as I learned from James' Posting :-)
> it doesn't work in .vimrc,
Strange. In my vimrc it works:
---snip---
filetype plugin on
edit ++ff=unix
---snap---
I have: VIM - Vi IMproved 6.1 ...
Included patches: 1-18
But, what is strange to me and not what I want - now I don't see the file
info, like: "readme.txt" [dos] 147L, 6263C
in the status line at the bottom of the screen but in the shell after
closing the file.
;-(
> ...Akkana
Regards,
Gebhard
More information about the Techtalk
mailing list