上标2,3,+下标4不能正确显示。上标2显示为<8e>,上标3显示为<8f>,下标4显示为ㄙ,上标+显示为ס。
在我的.vimrc中设置了以下内容:
execute "digraphs 0S " . 0x2070
execute "digraphs 1S " . 0xB9
execute "digraphs 2S " . 0xB2
execute "digraphs 3S " . 0xB3
execute "digraphs 4S " . 0x2074
execute "digraphs 5S " . 0x2075
execute "digraphs 6S " . 0x2076
execute "digraphs 7S " . 0x2077
execute "digraphs 8S " . 0x2078
execute "digraphs 9S " . 0x2079
execute "digraphs +S " . 0x207A
execute "digraphs -S " . 0x207B
execute "digraphs =S " . 0x207C
execute "digraphs (S " . 0x207D
execute "digraphs )S " . 0x207E
execute "digraphs nS " . 0x207F
execute "digraphs 0s " . 0x2080
execute "digraphs 1s " . 0x2081
execute "digraphs 2s " . 0x2082
execute "digraphs 3s " . 0x2083
execute "digraphs 4s " . 0x2084
execute "digraphs 5s " . 0x2085
execute "digraphs 6s " . 0x2086
execute "digraphs 7s " . 0x2087
execute "digraphs 8s " . 0x2088
execute "digraphs 9s " . 0x2089还有其他一些异常,但我认为任何解决这4个问题的解决方案都可以应用于其余的解决方案。我尝试将编码设置为utf-8并使用十进制值而不是十六进制,但问题仍然存在。我觉得这是字体的问题,但我尝试了十几种不同的字体,每种字体都产生了同样奇怪的字符。有什么想法吗?
发布于 2021-02-21 01:25:41
确切地说,为什么要将所有这些有向图重新定义为它们的内置值?你是如何确定下标4是ㄙ的?
₄是通过<C-k>4s获得的,而ㄙ是通过<C-k>s4获得的,所以在我看来,您只是按错了顺序。
https://stackoverflow.com/questions/66286846
复制相似问题