Reply to message «Re: [BUG] Having <C-o>c inside a insert mode mapping consumes escape», sent 21:27:58 23 October 2010, Saturday by ZyX:
It looks like that is another difference between user and non-user input: the
following commands produce the same result:
vim -u NONE -c 'set nocompatible' \
-c 'call feedkeys("a\<C-o>ch-\ea\e:wq! result.txt\n")'
and
vim -u NONE -c 'set nocompatible' \
-c 'execute "normal a\<C-o>ch-\ea"' \
-c 'wq! result.txt'
So the only one that behaves as I expect is
echo $'a\C-och-\ea\e:wq! result.txt\n' | vim -u NONE -c 'set nocompatible'
signature.asc
Description: This is a digitally signed message part.
