I am trying to use
unicode characters in vim. Since
msdos prompt didnt support unicode, I downloaded
I added some commands in
.vimrc through cygwin.
Basic commands like setting
fileencoding to utf8. Since cygwin also doesn't support diacritits or multiple characters. So, to add Tamil character keymappings and abbreviations, I opened notepad.
When I opened the same file through
notepad, I got multiple sentences in single line. The new line characters were hidden. when i move to the end of line, that cursor has to be moved twice. So, I manually entered a new line by pressing
Enter everytime and saved it.
I thought that the fileformat might be wrong and gave
:set fileformat+=msdos,unix in vimrc.
Then, I opened cygwin and inside it, opened a file through vim. I am getting an error like
E492: Not an editor command : ^M for every line in the vimrc file.
I understand that the newline character is causing trouble, but dont know how to solve it. Please help.