'^M' Problem

Jan 21, 2009

Today, I try to cp _vimrc file from Win to .vimrc file of Ubuntu,
but after cp _vimrc .vimrc command and running vim, there is a mistake that vim cannot deal with the file because '^M'.
It is just a little problem between dos and linux format of text. Download dos2unix, and u can use command 'dos2unix filename' to change dos format to unix format which is used in Ubuntu.

Ubuntu ubuntu vim