Step 1 in vim:
:map o iinsert<CR>some<CR>lines<ESC>
In a normal setup such as debian, pressing o now will insert this as desired:
insert
some
lines
But in vim on cygwin, the <CR> does not parse correctly, so pressing o will insert this:
insert<CR>some<CR>lines<ESC>
How can I make this kind of mapping work correctly in cygwin?
(Note: the output of :verbose map is identical on debian and cygwin)
:se cpoptions=aABceFsfirst. Does anyone know why, or what this is all about? – krubo Aug 26 '11 at 1:31