Consider the following command:
vim -u NONE -c 'noremap! <expr> - "‘"' \
-c 'normal i-' \
-c 'wq! result.out'
result.out:
$ cat result.out | hexdump -C
00000000 c3 a2 c2 80 c2 98 0a |.......|
00000007
Tested on vim-7.3 from gentoo repos and on vim-7.3.94 (revision f987220caa57).
Everything works fine if it is not expr mapping or if I replace «"‘"» with
«"\u2018"». Same issue with opening double english quote (u201C) and second
level opening russian quote (u201E).
signature.asc
Description: This is a digitally signed message part.
